Fix indents in urpm-repodiff

This commit is contained in:
Denis Silakov 2015-05-08 00:20:41 +04:00
parent 608bbd3042
commit d67ba50200

View file

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