I've since realized that this bug could probably be fixed in wheezy, since 
the upstream change is quite small, so I'm attaching a better, but still
non-invasive debdiff.

I'm cc-ing the uploaders of this package, since I've also noticed 
that they probably didn't receive earlier notifications for this bug; 
please let me know if I have to do something for it (I am also 
in the python-modules team, if it can be useful).

-- 
Elena ``of Valhalla''
diff -u pyrrd-0.1.0/debian/changelog pyrrd-0.1.0/debian/changelog
--- pyrrd-0.1.0/debian/changelog
+++ pyrrd-0.1.0/debian/changelog
@@ -1,3 +1,12 @@
+pyrrd (0.1.0-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Backport fix for RRD.fetch from upstream bzr revision 158 
+    (git commit dcd78df45c52 ) (Closes: #691230)
+    http://bazaar.launchpad.net/~oubiwann/pyrrd/trunk/revision/158
+
+ -- Elena Grandi <[email protected]>  Fri, 15 Feb 2013 18:38:14 +0100
+
 pyrrd (0.1.0-1) unstable; urgency=low
 
   * Team upload
only in patch2:
unchanged:
--- pyrrd-0.1.0.orig/pyrrd/backend/external.py
+++ pyrrd-0.1.0/pyrrd/backend/external.py
@@ -264,7 +264,7 @@
         data += [unicode(x) for x in obj.rra]
         return (obj.filename, params + data)
 
-    if function == 'update':
+    elif function == 'update':
         validParams = ['template']
         params = common.buildParameters(obj, validParams)
         FIRST_VALUE = 0
@@ -277,15 +277,15 @@
             data = [data for data, nil in obj.values]
         return (obj.filename, params + data)
 
-    if function == 'fetch':
+    elif function == 'fetch':
         validParams = ['resolution', 'start', 'end']
         params = common.buildParameters(obj, validParams)
-        return (obj.filename, obj.cf, params)
+        return (obj.filename, [obj.cf] + params)
 
-    if function == 'info':
+    elif function == 'info':
         return (obj.filename, obj)
 
-    if function == 'graph':
+    elif function == 'graph':
         validParams = ['start', 'end', 'step', 'title',
             'vertical_label', 'width', 'height', 'only_graph',
             'upper_limit', 'lower_limit', 'rigid', 'alt_autoscale',
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to