mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-10 05:57:28 +00:00
Use super() instead of explicitly calling our superclass
Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
parent
49f37a8965
commit
71b21083b7
@ -45,8 +45,8 @@ class InstallabilitySolver(InstallabilityTester):
|
||||
- NB: arch:all packages are "re-mapped" to given architecture.
|
||||
(simplifies caches and dependency checking)
|
||||
"""
|
||||
InstallabilityTester.__init__(self, universe, revuniverse, testing,
|
||||
broken, essentials, safe_set, eqv_table)
|
||||
super(InstallabilitySolver, self).__init__(universe, revuniverse, testing,
|
||||
broken, essentials, safe_set, eqv_table)
|
||||
|
||||
|
||||
def solve_groups(self, groups):
|
||||
|
@ -145,5 +145,5 @@ class MigrationItem(object):
|
||||
return self._uvname
|
||||
|
||||
class UnversionnedMigrationItem(MigrationItem):
|
||||
def __init__(self, name = None):
|
||||
MigrationItem.__init__(self, name = name, versionned = False)
|
||||
def __init__(self, name=None):
|
||||
super(UnversionnedMigrationItem, self).__init__(name=name, versionned=False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user