euscan/euscawww: Removing unused imports, fixed some typos and PEP8 cleaning
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user