aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorvolpino <fox91@anche.no>2012-08-07 09:39:49 +0200
committervolpino <fox91@anche.no>2012-08-07 09:39:49 +0200
commit952d9505b284902be182fb7cbe9c6829413fa8a8 (patch)
treed5cb027d12137120c936596a0d8cb86ca3d94c71 /bin
parenteuscanwww/tasks: ungroup tasks for now, use immutables tasks (diff)
downloadeuscan-952d9505b284902be182fb7cbe9c6829413fa8a8.tar.gz
euscan-952d9505b284902be182fb7cbe9c6829413fa8a8.tar.bz2
euscan-952d9505b284902be182fb7cbe9c6829413fa8a8.zip
euscan/euscawww: Removing unused imports, fixed some typos and PEP8 cleaning
Signed-off-by: volpino <fox91@anche.no>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/euscan4
-rwxr-xr-xbin/euscan_patch_metadata3
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/euscan b/bin/euscan
index 1149839..76922d4 100755
--- a/bin/euscan
+++ b/bin/euscan
@@ -299,9 +299,9 @@ def main():
except Exception as err:
import traceback
- print ('-'*60)
+ print ('-' * 60)
traceback.print_exc(file=sys.stderr)
- print ('-'*60)
+ print ('-' * 60)
output.eerror('%s: %s' % (query, str(err)))
exit_helper(1)
diff --git a/bin/euscan_patch_metadata b/bin/euscan_patch_metadata
index 612d9fe..7bfdfa1 100755
--- a/bin/euscan_patch_metadata
+++ b/bin/euscan_patch_metadata
@@ -178,7 +178,8 @@ def patch_metadata(package, watch_data, diff=False):
for opt in opts.split(","):
opt_name, opt_value = opt.split("=", 1)
if opt_name in valid:
- if opt_name == "uversionmangle": opt_name = "versionmangle"
+ if opt_name == "uversionmangle":
+ opt_name = "versionmangle"
cleaned_opts.append('%s="%s"' % (opt_name, opt_value))
opts = " ".join(cleaned_opts)