[Uludag-commits] r15328 - trunk/comar/api/comar
uludag-commits at pardus.org.tr
uludag-commits at pardus.org.tr
5 Eyl 2007 Çar 21:07:19 EEST
Author: bahadir.kandemir
Date: Wed Sep 5 21:07:19 2007
New Revision: 15328
Modified:
trunk/comar/api/comar/service.py
Log:
We don't need error message if service starts successfully.
Modified: trunk/comar/api/comar/service.py
=================================================================
--- trunk/comar/api/comar/service.py (original)
+++ trunk/comar/api/comar/service.py Wed Sep 5 21:07:19 2007
@@ -252,12 +252,12 @@
return execReply(0)
else:
ret = execReply(popen.wait())
- ret.stdout, ret.stderr = popen.communicate()
if donotify:
if ret == 0:
notify("System.Service.changed", "started")
else:
err = "Unable to start service."
+ ret.stdout, ret.stderr = popen.communicate()
if ret.stderr != "":
err = "Unable to start: " + str(ret.stderr)
fail(err)
Uludag-commits mesaj listesiyle ilgili
daha fazla bilgi