From 7b1143a6ffdf5e4f45286b4bdbaccd1f9b625001 Mon Sep 17 00:00:00 2001 From: Eric Blade Date: Sun, 28 Nov 2010 20:04:32 -0500 Subject: [PATCH] make "source" argument to interlocks.acquire mandatory --- pyfpdb/interlocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/interlocks.py b/pyfpdb/interlocks.py index c2e6abd6..3ec53b4d 100755 --- a/pyfpdb/interlocks.py +++ b/pyfpdb/interlocks.py @@ -45,7 +45,7 @@ class InterProcessLockBase: def acquire_impl(self, wait): abstract - def acquire(self, wait=False, retry_time=1, source=None): + def acquire(self, source, wait=False, retry_time=1): if source == None: source="Unknown" if self._has_lock: # make sure 2nd acquire in same process fails