summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-10-08 23:05:43 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-10-08 23:05:43 +0200
commit8180c274b2380ef505f4c4b85e3b677a29fdf823 (patch)
treec960bd7b1a3e295da2ebcb7d4b7514b36722c561
parent960c2247f29b51d2d91f9b15a7c1dfef6535a05a (diff)
downloadcluster-overview-8180c274b2380ef505f4c4b85e3b677a29fdf823.zip
cluster-overview-8180c274b2380ef505f4c4b85e3b677a29fdf823.tar.gz
cluster-overview-8180c274b2380ef505f4c4b85e3b677a29fdf823.tar.xz
Stop the provincialism :)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--lib.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib.py b/lib.py
index 04ed31f..a4f01e3 100644
--- a/lib.py
+++ b/lib.py
@@ -5,8 +5,7 @@
# (to view a copy, visit http://creativecommons.org/licenses/by-sa/3.0/)
"""Custom wrapping of pydot"""
-from sys import path
-from os.path import expanduser, extsep
+from os.path import extsep
from pydot import Dot, Edge, Node, Subgraph
REGISTRY = {}
@@ -147,7 +146,6 @@ def xdot_graph(*args, **kwargs):
import gtk.gdk
import pango
try:
- path[:] = [expanduser('~/wrkspc/goss-medium/jrfonseca.xdot')] + path[:]
import xdot
except ImportError:
print 'missing xdot; use "pip install xdot" or equivalent'