diff --git a/urpm-repodiff.py b/urpm-repodiff.py index ddce5c5..6c47faa 100755 --- a/urpm-repodiff.py +++ b/urpm-repodiff.py @@ -218,7 +218,7 @@ def CheckOutput(arg): arg.output = open(file_output, "w") except IOError: print _("Error: File %s cannot be created") % file_output - arg.output = None + arg.output = None exit_proc(arg) else: print _("Error: Path %s does not exist.") % dirname @@ -310,7 +310,7 @@ def ReadIgnoreList(arg): if string == '\n': continue if string.endswith('\n'): - string = string[:-1] + string = string[:-1] ignorelist.append(string) ifile.close() ignorelist.sort()