Bugfixing
authorNeil <neil@dip.sun.ac.za>
Sun, 11 Nov 2012 11:36:30 +0000 (13:36 +0200)
committerNeil <neil@dip.sun.ac.za>
Sun, 11 Nov 2012 11:36:30 +0000 (13:36 +0200)
__init__.py
irkerhook.py

index ebbe6c775a2686cdc5e25ec509f7d2453b1b41f5..c775f514a941c664c3e402718b6f1a596dec0f8b 100644 (file)
@@ -33,9 +33,9 @@ def branch_post_change_hook(params):
     """This is the post_change_branch_tip hook."""
     # (branch, old_revno, new_revno, old_revid, new_revid)
     br = params.branch
-    revs = br.revision_history()[params.old_revno:params.new_revno]
+    revs = br._revision_history()[params.old_revno:params.new_revno]
     for rev_id in revs:
-        _irker.IrkerSender(br, rev_id, br.get_config_stack()).send()
+        _irkerhook.IrkerSender(br, rev_id, br.get_config_stack()).send()
 
 
 def test_suite():
index 7e59a6ebc767d63fe371c169d166982e886e40d9..823ce52d854144ccf5c714fefbd08591f4a04f01 100644 (file)
@@ -106,7 +106,7 @@ class IrkerSender(object):
                     'cyan': '\x0310',
                     'reset': '\x0F',
                     }
-        return colours
+        return colours.iteritems()
 
     def project(self):
         project = self.config.get('irker_project')