From 0bc662a176b7044fd6faba7fabb68f7abe9a2049 Mon Sep 17 00:00:00 2001 From: Sérgio Almeida Date: Mon, 17 Aug 2009 16:45:58 +0100 Subject: Added -global when root. Fixed broken global lynking --- uselect.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'uselect.py') diff --git a/uselect.py b/uselect.py index e81b470..d8c76d9 100755 --- a/uselect.py +++ b/uselect.py @@ -43,8 +43,7 @@ class UniversalSelectTool: __import__(modpath) module = eval(modpath + '.module') self.modules.append(module) - - + def get_module(self, name): import modules modname = name @@ -64,6 +63,9 @@ class UniversalSelectTool: verbose = True printsystem.verbose() args = args[1:] + elif arg == '-global': + filesystem.set_global = True + args = args[1:] elif arg == '-nc': printsystem.use_colors(False) args = args[1:] -- cgit v1.2.3-65-gdbad