[Checkins] SVN: Products.ZNagios/trunk/Products/ZNagios/munin_client.py fix NameError

David Glick davidglick at onenw.org
Mon Mar 14 15:47:59 EDT 2011


Log message for revision 120920:
  fix NameError

Changed:
  U   Products.ZNagios/trunk/Products/ZNagios/munin_client.py

-=-
Modified: Products.ZNagios/trunk/Products/ZNagios/munin_client.py
===================================================================
--- Products.ZNagios/trunk/Products/ZNagios/munin_client.py	2011-03-14 19:37:29 UTC (rev 120919)
+++ Products.ZNagios/trunk/Products/ZNagios/munin_client.py	2011-03-14 19:47:59 UTC (rev 120920)
@@ -37,8 +37,8 @@
 
     def _prepare_fetch(self):
 
-        URL = URL + '?db=%s' % dbname
-        request = urllib2.Request(URL)
+        url = URL + '?db=%s' % dbname
+        request = urllib2.Request(url)
         if AUTHORIZATION:
             request.add_header('Authorization', 'Basic %s' %
                                base64.encodestring(AUTHORIZATION))



More information about the checkins mailing list