Mark `format_recovered` as static method

This commit is contained in:
Sajith Sasidharan 2020-02-13 22:02:30 -05:00 committed by Sajith Sasidharan
parent bc8a86e106
commit 0bd386384e
1 changed files with 2 additions and 1 deletions

View File

@ -319,7 +319,8 @@ class StorageStatusElement(Element):
return tag(p)
def format_recovered(self, sr, a):
@staticmethod
def format_recovered(sr, a):
def maybe(d):
if d is None:
return "?"