summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2016-11-16 22:18:18 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2016-11-17 12:19:41 +0000
commit36cbfa8c618f86bcb6c08c52095be83c10c976a3 (patch)
tree6a6893d2f991b86953c181b0e348528b1347a411 /packaging
parent2657cc39218d6ec3b5a7b5f9a462a8262e7404d5 (diff)
downloaddeluge-36cbfa8c618f86bcb6c08c52095be83c10c976a3.tar.gz
deluge-36cbfa8c618f86bcb6c08c52095be83c10c976a3.tar.bz2
deluge-36cbfa8c618f86bcb6c08c52095be83c10c976a3.zip
[Lint] Fix files to pass Flake8 v3.2.0
Diffstat (limited to 'packaging')
-rw-r--r--packaging/win32/deluge-bbfreeze.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/win32/deluge-bbfreeze.py b/packaging/win32/deluge-bbfreeze.py
index dd69f13a2..0ee03e371 100644
--- a/packaging/win32/deluge-bbfreeze.py
+++ b/packaging/win32/deluge-bbfreeze.py
@@ -47,6 +47,7 @@ class VersionInfo(object):
self.debug = debug
self.verbose = verbose
+
DEBUG = False
if len(sys.argv) == 2 and sys.argv[1].lower() == 'debug':
DEBUG = True
@@ -79,6 +80,8 @@ def recipe_gtk_override(mf):
# Override bbfreeze function so that it includes all gtk libraries
# in the installer so users don't require a separate GTK+ installation.
return True
+
+
bbfreeze.recipes.recipe_gtk_and_friends = recipe_gtk_override
# Workaround for "ImportError: The 'packaging' package is required" with setuptools > 18.8.
@@ -147,6 +150,8 @@ def ignored_files(adir, ignore_filenames):
if not os.path.isdir(os.path.join(adir, ignore_file)) and
ignore_file not in locale_include_list
]
+
+
shutil.copytree(gtk_locale, os.path.join(build_dir, 'share/locale'), ignore=ignored_files)
# Copy gtk theme files.