Browse files

removed debug output

- added delay before success testing
  • Loading branch information...
1 parent 2ebef3e commit f4c4953fcd43b65e0e78ae7f9389d5f673700ecd @ibressler committed Dec 14, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 dfmon/backend.py
View
3 dfmon/backend.py
@@ -165,7 +165,7 @@ def __init__(self, cmdList, sudo = False):
cmdList = newcmd
self._sudo = True
try:
- print "starting:", cmdList
+ #print "starting:", cmdList
self._cmd = subprocess.Popen(cmdList,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
@@ -846,6 +846,7 @@ def remove(self):
except CmdReturnCodeError, e:
raise MyError(str(e))
else:
+ time.sleep(0.1)
if not self.isValid():
raise RemovalSuccessInfo()

0 comments on commit f4c4953

Please sign in to comment.