crypttab: 'NoneType' object is not callable when password is NoneType (#56790)
This looks to have been broken in commit 8bd5757720
where a fields.append was replaced with a call to self.password
This commit is contained in:
parent
4255ee8e5a
commit
e2adb37789
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ class Line(object):
|
||||||
if self.password is not None:
|
if self.password is not None:
|
||||||
fields.append(self.password)
|
fields.append(self.password)
|
||||||
else:
|
else:
|
||||||
self.password('none')
|
fields.append('none')
|
||||||
if self.opts:
|
if self.opts:
|
||||||
fields.append(str(self.opts))
|
fields.append(str(self.opts))
|
||||||
return ' '.join(fields)
|
return ' '.join(fields)
|
||||||
|
|
Loading…
Reference in a new issue