mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-05 11:02:14 +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")
|
print("\nSearch for .new configuration files:\n")
|
||||||
for path, dirs, files in os.walk(self.etc):
|
for path, dirs, files in os.walk(self.etc):
|
||||||
|
del dirs # delete unsed
|
||||||
for f in files:
|
for f in files:
|
||||||
if f.endswith(".new"):
|
if f.endswith(".new"):
|
||||||
self.news.append(os.path.join(path, f))
|
self.news.append(os.path.join(path, f))
|
||||||
|
@ -91,7 +92,7 @@ class NewConfig(object):
|
||||||
raise SystemExit()
|
raise SystemExit()
|
||||||
print("")
|
print("")
|
||||||
if choose in ("K", "k"):
|
if choose in ("K", "k"):
|
||||||
self.keep
|
self.keep()
|
||||||
elif choose in ("O", "o"):
|
elif choose in ("O", "o"):
|
||||||
self.overwrite_all()
|
self.overwrite_all()
|
||||||
elif choose in ("R", "r"):
|
elif choose in ("R", "r"):
|
||||||
|
|
Loading…
Reference in a new issue