Show More
@@ -5,10 +5,19 b'' | |||||
5 | # This software may be used and distributed according to the terms of the |
|
5 | # This software may be used and distributed according to the terms of the | |
6 | # GNU General Public License version 2 or any later version. |
|
6 | # GNU General Public License version 2 or any later version. | |
7 |
|
7 | |||
8 | import util, error |
|
8 | from __future__ import absolute_import | |
9 | import errno, os, socket, time |
|
9 | ||
|
10 | import errno | |||
|
11 | import os | |||
|
12 | import socket | |||
|
13 | import time | |||
10 | import warnings |
|
14 | import warnings | |
11 |
|
15 | |||
|
16 | from . import ( | |||
|
17 | error, | |||
|
18 | util, | |||
|
19 | ) | |||
|
20 | ||||
12 | class lock(object): |
|
21 | class lock(object): | |
13 | '''An advisory lock held by one process to control access to a set |
|
22 | '''An advisory lock held by one process to control access to a set | |
14 | of files. Non-cooperating processes or incorrectly written scripts |
|
23 | of files. Non-cooperating processes or incorrectly written scripts |
General Comments 0
You need to be logged in to leave comments.
Login now