summaryrefslogtreecommitdiffstats
path: root/pykolab/setup/setup_kolabd.py
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-05-05 17:15:19 +0200
committerTimotheus Pokorra <tp@tbits.net>2015-05-05 17:15:19 +0200
commit5bc3c7fba85fc2de79f7bb92ec546fa3eb541f30 (patch)
treef98554dad3c2b36aec7e042be2d9d4e91dd8e02c /pykolab/setup/setup_kolabd.py
parent6359245b344eb81e1014fa5a2f51dd261db6b4e0 (diff)
downloadpykolab-5bc3c7fba85fc2de79f7bb92ec546fa3eb541f30.tar.gz
fixing typo in my previous commit
os.path.isfile instead of os.patch.isfile
Diffstat (limited to 'pykolab/setup/setup_kolabd.py')
-rw-r--r--pykolab/setup/setup_kolabd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/setup/setup_kolabd.py b/pykolab/setup/setup_kolabd.py
index 315c7a2..54892ce 100644
--- a/pykolab/setup/setup_kolabd.py
+++ b/pykolab/setup/setup_kolabd.py
@@ -72,7 +72,7 @@ def execute(*args, **kw):
myaugeas.close()
if os.path.isfile('/bin/systemctl'):
- if os.patch.isfile('/etc/debian_version'):
+ if os.path.isfile('/etc/debian_version'):
subprocess.call(['/bin/systemctl', 'restart', 'kolab-server.service'])
else:
subprocess.call(['/bin/systemctl', 'restart', 'kolabd.service'])
@@ -84,7 +84,7 @@ def execute(*args, **kw):
log.error(_("Could not start the kolab server service."))
if os.path.isfile('/bin/systemctl'):
- if os.patch.isfile('/etc/debian_version'):
+ if os.path.isfile('/etc/debian_version'):
subprocess.call(['/bin/systemctl', 'enable', 'kolab-server.service'])
else:
subprocess.call(['/bin/systemctl', 'enable', 'kolabd.service'])