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 ...@@ -4,10 +4,7 @@ import ctypes
try: try:
from constants import * from constants import *
except ImportError: except ImportError:
try: from unshare.constants import *
from unshare.constants import *
except BaseException as e:
raise e
libc = ctypes.CDLL('libc.so.6') libc = ctypes.CDLL('libc.so.6')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment