Skip to content
Snippets Groups Projects
Commit 89aa9321 authored by nimrod's avatar nimrod
Browse files

- Removed second try block in import, isn't needed since I'm just re-raising the exception.

parent 78045e98
No related branches found
No related tags found
No related merge requests found
......@@ -4,10 +4,7 @@ import ctypes
try:
from constants import *
except ImportError:
try:
from unshare.constants import *
except BaseException as e:
raise e
from unshare.constants import *
libc = ctypes.CDLL('libc.so.6')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment