1 |
This is a member function of a class, so it must have a |self| argument |
2 |
first. The current code is clearly broken otherwise. Not that it seems |
3 |
to matter as there aren't any callers in the current codebase. |
4 |
--- |
5 |
catalyst/lock.py | 2 +- |
6 |
1 file changed, 1 insertion(+), 1 deletion(-) |
7 |
|
8 |
diff --git a/catalyst/lock.py b/catalyst/lock.py |
9 |
index a6f9d3a..9f954eb 100644 |
10 |
--- a/catalyst/lock.py |
11 |
+++ b/catalyst/lock.py |
12 |
@@ -354,7 +354,7 @@ class LockDir: |
13 |
return True |
14 |
return False |
15 |
|
16 |
- def hardlink_active(lock): |
17 |
+ def hardlink_active(self, lock): |
18 |
if not os.path.exists(lock): |
19 |
return False |
20 |
|
21 |
-- |
22 |
2.5.2 |