From 5af9c6201892c81db1c2efd0e2ba640248e52d49 Mon Sep 17 00:00:00 2001 From: Julien Jehannet Date: Mon, 19 Jan 2009 20:55:39 +0100 Subject: typo --- shellutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shellutils.py b/shellutils.py index 4cfe9a3..d964705 100644 --- a/shellutils.py +++ b/shellutils.py @@ -219,7 +219,7 @@ def acquire_lock(lock_file, max_try=10, delay=10): # only print the message one time if count == max_try: diff = (int(time.time()) - pi.age()) / 60 - print("Command '%s' (pid %s) have locked the file '%s' for %s minutes.\nWaiting..." % (pi.name(), pid, lock_file, diff)) + print("Command '%s' (pid %s) has locked the file '%s' for %s minutes.\nWaiting..." % (pi.name(), pid, lock_file, diff)) except NoSuchProcess: raise NoSuchProcess('You can delete the lock file "%s" safely' % lock_file) except: -- cgit v1.2.1