mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-10 10:51:08 +00:00
excuse: add hasreason function
This commit is contained in:
parent
a08b7ebc48
commit
a667250cef
@ -419,6 +419,9 @@ class Excuse(object):
|
||||
""""adding reason"""
|
||||
self.reason[reason] = 1
|
||||
|
||||
def hasreason(self, reason):
|
||||
return reason in self.reason
|
||||
|
||||
def _text(self, excuses):
|
||||
"""Render the excuse in text"""
|
||||
self._render_dep_issues(excuses)
|
||||
|
Loading…
x
Reference in New Issue
Block a user