meld r1344 - trunk/vc
- From: vincele svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1344 - trunk/vc
- Date: Sat, 11 Apr 2009 23:25:19 +0000 (UTC)
Author: vincele
Date: Sat Apr 11 23:25:19 2009
New Revision: 1344
URL: http://svn.gnome.org/viewvc/meld?rev=1344&view=rev
Log:
Use super() to call parent's constructor
Modified:
trunk/vc/bzr.py
trunk/vc/darcs.py
trunk/vc/git.py
trunk/vc/tla.py
Modified: trunk/vc/bzr.py
==============================================================================
--- trunk/vc/bzr.py (original)
+++ trunk/vc/bzr.py Sat Apr 11 23:25:19 2009
@@ -36,7 +36,7 @@
def __init__(self, location):
self._tree_cache = None
- _vc.Vc.__init__(self, location)
+ super(Vc, self).__init__(location)
def commit_command(self, message):
return [self.CMD,"commit","-m",message]
Modified: trunk/vc/darcs.py
==============================================================================
--- trunk/vc/darcs.py (original)
+++ trunk/vc/darcs.py Sat Apr 11 23:25:19 2009
@@ -43,7 +43,7 @@
def __init__(self, location):
self._cached_statuses = None
- _vc.Vc.__init__(self, location)
+ super(Vc, self).__init__(location)
def commit_command(self, message):
return [self.CMD, "record",
Modified: trunk/vc/git.py
==============================================================================
--- trunk/vc/git.py (original)
+++ trunk/vc/git.py Sat Apr 11 23:25:19 2009
@@ -41,7 +41,7 @@
def __init__(self, location):
self._tree_cache = None
- _vc.Vc.__init__(self, location)
+ super(Vc, self).__init__(location)
def commit_command(self, message):
return [self.CMD,"commit","-m",message]
Modified: trunk/vc/tla.py
==============================================================================
--- trunk/vc/tla.py (original)
+++ trunk/vc/tla.py Sat Apr 11 23:25:19 2009
@@ -68,7 +68,7 @@
def __init__(self, location):
self._cached_statuses = None
- _vc.Vc.__init__(self, location)
+ super(Vc, self).__init__(location)
def commit_command(self, message):
return [self.CMD, "commit",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]