fixed typos in cryptab, thanks @timw

fixes #1176
reviewable/pr18780/r1
Brian Coca 9 years ago
parent f4fd9a4639
commit 3099469b7f

@ -252,18 +252,18 @@ class Line(object):
def _split_line(self, line): def _split_line(self, line):
fields = line.split() fields = line.split()
try: try:
field2 = field[2] field2 = fields[2]
except IndexError: except IndexError:
field2 = None field2 = None
try: try:
field3 = field[3] field3 = fields[3]
except IndexError: except IndexError:
field3 = None field3 = None
return (fields[0], return (fields[0],
fields[1], fields[1],
field2, field2,
fields3) field3)
def remove(self): def remove(self):
self.line, self.name, self.backing_device = '', None, None self.line, self.name, self.backing_device = '', None, None

Loading…
Cancel
Save