mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Merge branch 'feature/ChangeCleaner' into develop
This commit is contained in:
commit
0ab0407e18
2 changed files with 8 additions and 2 deletions
|
@ -38,6 +38,7 @@
|
||||||
* Change remove redundant xsrf handling for POSTs that don't use web and API
|
* Change remove redundant xsrf handling for POSTs that don't use web and API
|
||||||
* Change add xsrf protection support to media processing scripts
|
* Change add xsrf protection support to media processing scripts
|
||||||
* Change suppress output warnings from media process scripts
|
* Change suppress output warnings from media process scripts
|
||||||
|
* Change remove deprecated files
|
||||||
|
|
||||||
|
|
||||||
### 0.15.14 (2018-04-20 12:00:00 UTC)
|
### 0.15.14 (2018-04-20 12:00:00 UTC)
|
||||||
|
|
|
@ -4,13 +4,18 @@ import os
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
parent_dir = os.path.abspath(os.path.dirname(__file__))
|
parent_dir = os.path.abspath(os.path.dirname(__file__))
|
||||||
cleaned_file = os.path.abspath(os.path.join(parent_dir, '.cleaned.tmp'))
|
cleaned_file = os.path.abspath(os.path.join(parent_dir, '.cleaned002.tmp'))
|
||||||
if not os.path.isfile(cleaned_file):
|
test = os.path.abspath(os.path.join(parent_dir, 'lib', 'hachoir_core'))
|
||||||
|
if not os.path.isfile(cleaned_file) or os.path.exists(test):
|
||||||
dead_dirs = [os.path.abspath(os.path.join(parent_dir, *d)) for d in [
|
dead_dirs = [os.path.abspath(os.path.join(parent_dir, *d)) for d in [
|
||||||
|
('.cleaned.tmp',),
|
||||||
('tornado',),
|
('tornado',),
|
||||||
('lib', 'feedcache'),
|
('lib', 'feedcache'),
|
||||||
|
('lib', 'hachoir_core'), ('lib', 'hachoir_metadata'), ('lib', 'hachoir_parser'),
|
||||||
('lib', 'jsonrpclib'),
|
('lib', 'jsonrpclib'),
|
||||||
('lib', 'shove'),
|
('lib', 'shove'),
|
||||||
|
('lib', 'trakt'),
|
||||||
|
('lib', 'tvrage_api'),
|
||||||
('lib', 'unrar2')
|
('lib', 'unrar2')
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue