Fix pylint errors

This commit is contained in:
Dimitris Zlatanidis 2015-08-04 04:21:44 +03:00
parent e4dcbbcbc2
commit 7816526e36

View file

@ -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"):