[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 60c790ddb59c7ae47039b6cb9aaf0d956ed726d4
Author: Christian Fromme <kaner@xxxxxxxxxx>
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", "")



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits