Fix a typo in a function name in queing
authorJulien Pivotto <roidelapluie@inuits.eu>
Thu, 16 Oct 2014 19:39:08 +0000 (21:39 +0200)
committerJulien Pivotto <roidelapluie@inuits.eu>
Thu, 16 Oct 2014 19:40:05 +0000 (21:40 +0200)
Replacing iterivalues() by itervalues(), and then fixing the values()
function of Queue object.

jenkinsapi/queue.py

index d0efc5ba4d40f7c02207aa699d3844b2c8381196..ff67783c235b2e791bc3e325b1eb9fe4cf0feaad 100644 (file)
@@ -37,7 +37,7 @@ class Queue(JenkinsBase):
         for item in self._data['items']:
             yield item['id']
 
-    def iterivalues(self):
+    def itervalues(self):
         for item in self._data['items']:
             yield QueueItem(self.jenkins, **item)