mirror of
https://abf.rosa.ru/djam/urpm-tools.git
synced 2025-02-23 09:22:47 +00:00
Fix indents in urpm-repodiff
This commit is contained in:
parent
608bbd3042
commit
d67ba50200
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Reference in a new issue