From 37ff82d1e027cc0926fbe183e121cbb08462a503 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sat, 25 Apr 2015 17:27:48 +0200 Subject: [PATCH] Use python3-style super() --- installability/solver.py | 4 ++-- migrationitem.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installability/solver.py b/installability/solver.py index 5841a10..274ed53 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) """ - super(InstallabilitySolver, self).__init__(universe, revuniverse, testing, - broken, essentials, safe_set, eqv_table) + super().__init__(universe, revuniverse, testing, + broken, essentials, safe_set, eqv_table) def solve_groups(self, groups): diff --git a/migrationitem.py b/migrationitem.py index 1b94403..0757626 100644 --- a/migrationitem.py +++ b/migrationitem.py @@ -146,4 +146,4 @@ class MigrationItem(object): class UnversionnedMigrationItem(MigrationItem): def __init__(self, name=None): - super(UnversionnedMigrationItem, self).__init__(name=name, versionned=False) + super().__init__(name=name, versionned=False)