From cd561aa77305a9ea81e984525e03a4fcbd2592a2 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Mon, 14 Mar 2016 20:57:04 +0200 Subject: [PATCH] - Consistent import statement. --- VERSION | 2 +- unshare/__init__.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index 7dff5b8..f477849 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.1 \ No newline at end of file +0.2.2 \ No newline at end of file diff --git a/unshare/__init__.py b/unshare/__init__.py index 18b66a8..28d3cc9 100644 --- a/unshare/__init__.py +++ b/unshare/__init__.py @@ -1,10 +1,7 @@ #!/usr/bin/env python import ctypes -try: - from constants import * -except ImportError: - from unshare.constants import * +from unshare.constants import * libc = ctypes.CDLL('libc.so.6') -- GitLab