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
pull/55176/head
A Codeweavers Infrastructure Bod 7 years ago committed by Abhijeet Kasurde
parent 4255ee8e5a
commit e2adb37789

@ -280,7 +280,7 @@ class Line(object):
if self.password is not None:
fields.append(self.password)
else:
self.password('none')
fields.append('none')
if self.opts:
fields.append(str(self.opts))
return ' '.join(fields)

Loading…
Cancel
Save