summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-19 16:57:13 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-19 16:57:13 +0100
commit98237c3fa335d54469f435761689be2b7a4cbc8a (patch)
treef7663950225f52345f674bfe97c69553af71f520
parent0a993d4b3c0b3afe76ed07d177b891791f6ae94f (diff)
downloadpykolab-98237c3fa335d54469f435761689be2b7a4cbc8a.tar.gz
Merge
-rw-r--r--pykolab/setup/__init__.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/pykolab/setup/__init__.py b/pykolab/setup/__init__.py
index 74d410b..cffe6b4 100644
--- a/pykolab/setup/__init__.py
+++ b/pykolab/setup/__init__.py
@@ -24,13 +24,13 @@ import pykolab
log = pykolab.getLogger('pykolab.setup')
conf = pykolab.getConf()
+to_execute = []
+
class Setup(object):
def __init__(self):
import components
components.__init__()
- to_execute = []
-
arg_num = 0
for arg in sys.argv[1:]:
arg_num += 1
@@ -38,7 +38,5 @@ class Setup(object):
if components.components.has_key(sys.argv[arg_num].replace('-','_')):
to_execute.append(sys.argv[arg_num].replace('-','_'))
- components.execute('_'.join(to_execute))
-
def run(self):
- pass
+ components.execute('_'.join(to_execute))