342
346
# XXX: is creating this here inefficient?
343
347
config = bzrlib.config.GlobalConfig()
344
352
s = Stanza(hostname=socket.gethostname(),
346
354
start_time=str(int(time.time())),
352
360
def _parse_info(self, info_file):
353
361
return read_stanza(info_file.readlines()).as_dict()
357
364
"""Wait a certain period for a lock.
359
366
If the lock can be acquired within the bounded time, it