Merge "Make the unrecognized exception more verbose"
This commit is contained in:
@@ -66,7 +66,7 @@ for line in aclfd:
|
|||||||
acl[section].append(line)
|
acl[section].append(line)
|
||||||
# WTF
|
# WTF
|
||||||
else:
|
else:
|
||||||
raise Exception('Unrecognized line!')
|
raise Exception('Unrecognized line: "%s"' % line)
|
||||||
aclfd.close()
|
aclfd.close()
|
||||||
|
|
||||||
if '2' in transformations:
|
if '2' in transformations:
|
||||||
|
|||||||
Reference in New Issue
Block a user