mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-30 16:33:37 +00:00
Change remove deprecated files.
This commit is contained in:
parent
a6f7ab47e2
commit
ad4a40bd39
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 add xsrf protection support to media processing scripts
|
||||
* Change suppress output warnings from media process scripts
|
||||
* Change remove deprecated files
|
||||
|
||||
|
||||
### 0.15.14 (2018-04-20 12:00:00 UTC)
|
||||
|
|
|
@ -4,13 +4,18 @@ import os
|
|||
import shutil
|
||||
|
||||
parent_dir = os.path.abspath(os.path.dirname(__file__))
|
||||
cleaned_file = os.path.abspath(os.path.join(parent_dir, '.cleaned.tmp'))
|
||||
if not os.path.isfile(cleaned_file):
|
||||
cleaned_file = os.path.abspath(os.path.join(parent_dir, '.cleaned002.tmp'))
|
||||
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 [
|
||||
('.cleaned.tmp',),
|
||||
('tornado',),
|
||||
('lib', 'feedcache'),
|
||||
('lib', 'hachoir_core'), ('lib', 'hachoir_metadata'), ('lib', 'hachoir_parser'),
|
||||
('lib', 'jsonrpclib'),
|
||||
('lib', 'shove'),
|
||||
('lib', 'trakt'),
|
||||
('lib', 'tvrage_api'),
|
||||
('lib', 'unrar2')
|
||||
]]
|
||||
|
||||
|
|
Loading…
Reference in a new issue