[tor-commits] [weather/master] Fix syntax error in in version handling

kaner at torproject.org kaner at torproject.org
Sat Oct 29 23:05:59 UTC 2011


commit 60c790ddb59c7ae47039b6cb9aaf0d956ed726d4
Author: Christian Fromme <kaner at strace.org>
Date:   Thu Jun 30 19:02:39 2011 +0200

    Fix syntax error in in version handling
---
 weather/weatherapp/ctlutil.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/weather/weatherapp/ctlutil.py b/weather/weatherapp/ctlutil.py
index 93c6318..e5aeca4 100644
--- a/weather/weatherapp/ctlutil.py
+++ b/weather/weatherapp/ctlutil.py
@@ -288,7 +288,7 @@ class CtlUtil:
         # in the `recommended' list
         if client_version.endswith("-dev"):
             version_list.append(client_version)
-            if get_highest_version(version_list) == client_version:
+            if self.get_highest_version(version_list) == client_version:
                 return 'RECOMMENDED'
             # If 0.2.1.34 is stable, that means 0.2.1.34-dev is fine, too.
             nondev_name = client_version.replace("-dev", "")





More information about the tor-commits mailing list