summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-09-05 18:21:26 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-09-05 18:21:26 +0200
commit82a76c129746c1fe29022fdb6d9b97e907de242f (patch)
tree60bc8176b46c39fd4cd08de5d33f31bf8b43ff1d
parent98155ef7c0d9cf6102be9d6afa0f1fa534edface (diff)
downloadcluster-overview-82a76c129746c1fe29022fdb6d9b97e907de242f.zip
cluster-overview-82a76c129746c1fe29022fdb6d9b97e907de242f.tar.gz
cluster-overview-82a76c129746c1fe29022fdb6d9b97e907de242f.tar.xz
Get rid of who-knows-why "export" decorator
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--lib.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib.py b/lib.py
index fd39ce2..c200a86 100644
--- a/lib.py
+++ b/lib.py
@@ -121,19 +121,12 @@ class EdgeInvisible(LibEdge):
# main-helpers
#
-def export(fnc):
- __all__.append(fnc.__name__)
- return fnc
-
-
-@export
def gen_graph(graph, blacklist=(), **kwargs):
# can eventually restore the state
BLACKLIST[:] = blacklist
return graph()
-@export
def xdot_graph(*args, **kwargs):
import gtk
import gtk.gdk
@@ -271,7 +264,6 @@ def xdot_graph(*args, **kwargs):
gtk.main()
-@export
def main(graph, argv, *args, **kws):
# -x deprecated, supported for backward compatibility
x, argv = (1, argv[1:]) if len(argv) <= 1 or argv[1] == '-x' else (0, argv)