mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-26 12:45:31 +00:00
Updates to helper scripts
* Python 3 compatible * Consistent quote symbol
This commit is contained in:
parent
23cbd581db
commit
7d679eb480
5 changed files with 94 additions and 98 deletions
|
@ -92,12 +92,12 @@ def minify_js_dir(source_dir):
|
|||
source_files = source_files_list(source_dir)
|
||||
|
||||
if not source_files:
|
||||
print 'No js files found, skipping %s' % source_dir
|
||||
print('No js files found, skipping %s' % source_dir)
|
||||
return
|
||||
|
||||
concat_src_files(source_files, file_debug_js)
|
||||
minify_file(file_debug_js, file_minified_js)
|
||||
print 'Minified %s' % source_dir
|
||||
print('Minified %s' % source_dir)
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) != 2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue