Update lists

This commit is contained in:
Dimitris Zlatanidis 2015-08-11 21:08:44 +03:00
parent a7b6e0c230
commit 214b7165ee
2 changed files with 2 additions and 2 deletions

View file

@ -204,7 +204,7 @@ class Patches(object):
"""
for core in self.upgrade_all:
if "kernel" in core:
if self.meta.default_answer == "y":
if self.meta.default_answer in ["y", "Y"]:
answer = self.meta.default_answer
else:
print("")

View file

@ -52,7 +52,7 @@ def it_self_update():
if line.startswith("__version_info__"):
__new_version__ = ".".join(re.findall(r"\d+", line))
if __new_version__ > _meta_.__version__:
if _meta_.default_answer == "y":
if _meta_.default_answer in ["y", "Y"]:
answer = _meta_.default_answer
else:
print("\nNew version '{0}-{1}' is available !\n".format(