mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Fix pylint errors
This commit is contained in:
parent
e4dcbbcbc2
commit
7816526e36
1 changed files with 2 additions and 1 deletions
|
@ -64,6 +64,7 @@ class NewConfig(object):
|
|||
"""
|
||||
print("\nSearch for .new configuration files:\n")
|
||||
for path, dirs, files in os.walk(self.etc):
|
||||
del dirs # delete unsed
|
||||
for f in files:
|
||||
if f.endswith(".new"):
|
||||
self.news.append(os.path.join(path, f))
|
||||
|
@ -91,7 +92,7 @@ class NewConfig(object):
|
|||
raise SystemExit()
|
||||
print("")
|
||||
if choose in ("K", "k"):
|
||||
self.keep
|
||||
self.keep()
|
||||
elif choose in ("O", "o"):
|
||||
self.overwrite_all()
|
||||
elif choose in ("R", "r"):
|
||||
|
|
Loading…
Reference in a new issue