Browse files

merge from default

--HG--
branch : production-0.8
  • Loading branch information...
2 parents 5ea5742 + 358314a commit 6173edc2f01223600056506a9946c192e5438f70 @escapewindow escapewindow committed Aug 2, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 changes/hgpoller.py
View
5 changes/hgpoller.py
@@ -201,7 +201,8 @@ class BaseHgPoller(BasePoller):
def __init__(self, hgURL, branch, pushlogUrlOverride=None,
tipsOnly=False, tree=None, repo_branch=None, maxChanges=100):
- BasePoller.__init__(self)
+ self.super_class = BasePoller
+ self.super_class.__init__(self)
self.hgURL = hgURL
self.branch = branch
self.tree = tree
@@ -258,7 +259,7 @@ def dataFailed(self, res):
log.msg("%s has been reset" % self.baseURL)
self.lastChangeset = None
self.emptyRepo = True
- return BasePoller.dataFailed(self, res)
+ return self.super_class.dataFailed(self, res)
def processData(self, query):
all_changes = _parse_changes(query)

0 comments on commit 6173edc

Please sign in to comment.