[gnome-ostree/wip/simple-cleanups: 20/23] supybot: Remove weird __parent
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree/wip/simple-cleanups: 20/23] supybot: Remove weird __parent
- Date: Thu, 13 Jun 2013 18:48:30 +0000 (UTC)
commit 3c12a71a5cc1b057769523df4f22e450ac250cfb
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jun 13 14:43:23 2013 -0400
supybot: Remove weird __parent
Just using super() whereever is the recommended way to do this.
extras/supybot/GNOMEOSTree/plugin.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/extras/supybot/GNOMEOSTree/plugin.py b/extras/supybot/GNOMEOSTree/plugin.py
index 14f2fe2..a313dc3 100644
--- a/extras/supybot/GNOMEOSTree/plugin.py
+++ b/extras/supybot/GNOMEOSTree/plugin.py
@@ -38,8 +38,7 @@ import supybot.callbacks as callbacks
class GNOMEOSTree(callbacks.Plugin):
def __init__(self, irc):
- self.__parent = super(GNOMEOSTree, self)
- self.__parent.__init__(irc)
+ super(GNOMEOSTree, self).__init__(irc)
schedule.addPeriodicEvent(self._query_new_tasks, 1, now=False)
self._irc = irc
self._flood_channels = ['#testable']
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]