[Commits] groupthink branch master updated.

bens bens at bemasc.localdomain
Mon Jan 12 00:13:22 EST 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "/home/bemasc/public_git/groupthink".

The branch, master has been updated
       via  2ad124b09da590a0a5b955e4bf4e3e89c38adc51 (commit)
      from  09689e2370808fb21cbe228165100df761d0e42e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

 sugar.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 2ad124b09da590a0a5b955e4bf4e3e89c38adc51
Author: bens <bens at bemasc.localdomain>
Date:   Mon Jan 12 00:12:18 2009 -0500

    Switch to super() for superclass initialization

diff --git a/sugar.py b/sugar.py
index 1993222..d668df6 100644
--- a/sugar.py
+++ b/sugar.py
@@ -34,7 +34,7 @@ class GroupActivity(Activity):
     
     """Abstract Class for Activities using Groupthink"""
     def __init__(self, handle, service_name):
-        Activity.__init__(self, handle)
+        super(GroupActivity, self).__init__(handle)
         self.logger = logging.getLogger(service_name)
         self.dbus_name = service_name
         
-----------------------------------------------------------------------


--
/home/bemasc/public_git/groupthink


More information about the Commits mailing list