From 71b21083b7f700a2b0b67b3976d3ee5837690d01 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sun, 26 Apr 2015 18:20:10 +0200 Subject: [PATCH] Use super() instead of explicitly calling our superclass Signed-off-by: Julien Cristau --- installability/solver.py | 4 ++-- migrationitem.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installability/solver.py b/installability/solver.py index 8ca402e..5841a10 100644 --- a/installability/solver.py +++ b/installability/solver.py @@ -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): diff --git a/migrationitem.py b/migrationitem.py index fe934bc..1b94403 100644 --- a/migrationitem.py +++ b/migrationitem.py @@ -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)