mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-06 15:21:38 +00:00
fix codestyle issues in excuse.py
This commit is contained in:
parent
57f9c98241
commit
3f9092f94b
@ -155,7 +155,8 @@ class Excuse(object):
|
||||
|
||||
def add_sane_dep(self, name):
|
||||
"""Add a sane dependency"""
|
||||
if name not in self.sane_deps: self.sane_deps.append(name)
|
||||
if name not in self.sane_deps:
|
||||
self.sane_deps.append(name)
|
||||
|
||||
def add_break_dep(self, name, arch):
|
||||
"""Add a break dependency"""
|
||||
@ -267,7 +268,8 @@ class Excuse(object):
|
||||
def _text(self):
|
||||
"""Render the excuse in text"""
|
||||
res = []
|
||||
res.append("Migration status for %s (%s to %s): %s" %
|
||||
res.append(
|
||||
"Migration status for %s (%s to %s): %s" %
|
||||
(self.name, self.ver[0], self.ver[1], self._format_verdict_summary()))
|
||||
if not self.is_valid:
|
||||
res.append("Issues preventing migration:")
|
||||
|
@ -11,7 +11,7 @@ def should_skip_codestyle():
|
||||
|
||||
EXCEPTIONS_BY_FILE = {
|
||||
'britney.py': 0,
|
||||
'britney2/excuse.py': 5,
|
||||
'britney2/excuse.py': 0,
|
||||
'britney2/excusefinder.py': 1,
|
||||
'britney2/hints.py': 8,
|
||||
'britney2/installability/tester.py': 4,
|
||||
|
Loading…
x
Reference in New Issue
Block a user