Use super() instead of explicitly calling our superclass

Signed-off-by: Julien Cristau <jcristau@debian.org>
master
Julien Cristau 10 years ago committed by Niels Thykier
parent 8d3d964daf
commit 2e20d9c7ad

@ -45,8 +45,8 @@ class InstallabilitySolver(InstallabilityTester):
- NB: arch:all packages are "re-mapped" to given architecture. - NB: arch:all packages are "re-mapped" to given architecture.
(simplifies caches and dependency checking) (simplifies caches and dependency checking)
""" """
InstallabilityTester.__init__(self, universe, revuniverse, testing, super(InstallabilitySolver, self).__init__(universe, revuniverse, testing,
broken, essentials, safe_set, eqv_table) broken, essentials, safe_set, eqv_table)
def solve_groups(self, groups): def solve_groups(self, groups):

@ -145,5 +145,5 @@ class MigrationItem(object):
return self._uvname return self._uvname
class UnversionnedMigrationItem(MigrationItem): class UnversionnedMigrationItem(MigrationItem):
def __init__(self, name = None): def __init__(self, name=None):
MigrationItem.__init__(self, name = name, versionned = False) super(UnversionnedMigrationItem, self).__init__(name=name, versionned=False)

Loading…
Cancel
Save