From 3156b2c75363500a0a80925e9a268c2e36bb88fa Mon Sep 17 00:00:00 2001 From: Jonathan Wiltshire <jmw@debian.org> Date: Sun, 29 Jan 2017 01:17:53 +0000 Subject: [PATCH] Fix call to super() in SimplePolicyHint Signed-off-by: Jonathan Wiltshire <jmw@debian.org> --- britney2/policies/policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/policies/policy.py b/britney2/policies/policy.py index 7a34c37..7b100ad 100644 --- a/britney2/policies/policy.py +++ b/britney2/policies/policy.py @@ -143,7 +143,7 @@ class SimplePolicyHint(Hint): def __eq__(self, other): if self.type != other.type or self._policy_parameter != other._policy_parameter: return False - return super.__eq__(other) + return super().__eq__(other) def str(self): return '%s %s %s' % (self._type, str(self._policy_parameter), ' '.join(x.name for x in self._packages))