mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-11 10:31:30 +00:00
Use python3-style super()
This commit is contained in:
parent
c42fbcc5d3
commit
e8c84e8cc7
@ -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)
|
||||||
"""
|
"""
|
||||||
super(InstallabilitySolver, self).__init__(universe, revuniverse, testing,
|
super().__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):
|
||||||
|
@ -146,4 +146,4 @@ class MigrationItem(object):
|
|||||||
|
|
||||||
class UnversionnedMigrationItem(MigrationItem):
|
class UnversionnedMigrationItem(MigrationItem):
|
||||||
def __init__(self, name=None):
|
def __init__(self, name=None):
|
||||||
super(UnversionnedMigrationItem, self).__init__(name=name, versionned=False)
|
super().__init__(name=name, versionned=False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user