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