From eed1855ce2bfc51ab77febfc015a1558de4395bb Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 11 Nov 2012 13:36:30 +0200 Subject: [PATCH] Bugfixing --- __init__.py | 4 ++-- irkerhook.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__init__.py b/__init__.py index ebbe6c7..c775f51 100644 --- a/__init__.py +++ b/__init__.py @@ -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(): diff --git a/irkerhook.py b/irkerhook.py index 7e59a6e..823ce52 100644 --- a/irkerhook.py +++ b/irkerhook.py @@ -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') -- 2.34.1