Cosmetic clean ups.
This commit is contained in:
parent
45a6e5e79f
commit
10cbb1344d
@ -105,10 +105,10 @@ class Extension:
|
|||||||
r = f.read()
|
r = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
self.parse_code_as_hex(r)
|
self.parse_code_as_hex(r)
|
||||||
except FileNotFoundError:
|
except FileNotFoundError as e:
|
||||||
logg.debug('could not parse code as file: {}'.format(e))
|
logg.debug('could not parse code as file: {}'.format(e))
|
||||||
pass
|
pass
|
||||||
except IsADirectoryError:
|
except IsADirectoryError as e:
|
||||||
logg.debug('could not parse code as file: {}'.format(e))
|
logg.debug('could not parse code as file: {}'.format(e))
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user