summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/search.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/search.py')
-rw-r--r--pym/_emerge/search.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/pym/_emerge/search.py b/pym/_emerge/search.py
index afbd1d557..1f276b47e 100644
--- a/pym/_emerge/search.py
+++ b/pym/_emerge/search.py
@@ -2,18 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import os
import re
from itertools import izip
-
-try:
- import portage
-except ImportError:
- from os import path as osp
- import sys
- sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym"))
- import portage
-
+import portage
+from portage import os
from portage.output import bold, bold as white, darkgreen, green, red
from portage.util import writemsg_stdout