From 567c9371e616e97b238caed48d995ba098c59b6b Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 12 Feb 2015 07:55:49 +0200 Subject: [PATCH] fix __new_version__ var --- slpkg/slpkg_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/slpkg_update.py b/slpkg/slpkg_update.py index e5fb73e4..fc588022 100644 --- a/slpkg/slpkg_update.py +++ b/slpkg/slpkg_update.py @@ -51,7 +51,7 @@ def it_self_update(): for line in version_data.splitlines(): line = line.strip() if line.startswith('__version_info__'): - _m.__new_version__ = '.'.join(re.findall(r'\d+', line)) + __new_version__ = '.'.join(re.findall(r'\d+', line)) if __new_version__ > _m.__version__: if _m.default_answer == "y": answer = _m.default_answer