diff options
author | volpino <fox91@anche.no> | 2012-08-07 09:39:49 +0200 |
---|---|---|
committer | volpino <fox91@anche.no> | 2012-08-07 09:39:49 +0200 |
commit | 952d9505b284902be182fb7cbe9c6829413fa8a8 (patch) | |
tree | d5cb027d12137120c936596a0d8cb86ca3d94c71 /bin | |
parent | euscanwww/tasks: ungroup tasks for now, use immutables tasks (diff) | |
download | euscan-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-x | bin/euscan | 4 | ||||
-rwxr-xr-x | bin/euscan_patch_metadata | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -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) |