# Copyright 2002-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
# Distributed under the GPL v2
+ 11 Jan 2009; Andrew Gaffney <agaffney@gentoo.org>
+ +modules/catalyst/lock.py,
+ modules/catalyst/target/generic_stage_target.py,
+ -modules/catalyst_lock.py:
+ Move catalyst_lock.py to catalyst/lock.py and update references
+
11 Jan 2009; Andrew Gaffney <agaffney@gentoo.org> catalyst,
modules/catalyst/target/__init__.py,
modules/catalyst/target/generic_stage_target.py:
from catalyst_support import *
from generic_target import *
from stat import *
-import catalyst_lock
+import catalyst.lock
import catalyst.arch
class generic_stage_target(generic_target):
normpath(self.settings["snapshot_cache"]+"/"+\
self.settings["snapshot"]+"/")
self.snapcache_lock=\
- catalyst_lock.LockDir(self.settings["snapshot_cache_path"])
+ catalyst.lock.LockDir(self.settings["snapshot_cache_path"])
print "Caching snapshot to "+self.settings["snapshot_cache_path"]
def set_chroot_path(self):
"""
self.settings["chroot_path"]=normpath(self.settings["storedir"]+\
"/tmp/"+self.settings["target_subpath"]+"/")
- self.chroot_lock=catalyst_lock.LockDir(self.settings["chroot_path"])
+ self.chroot_lock=catalyst.lock.LockDir(self.settings["chroot_path"])
def set_autoresume_path(self):
self.settings["autoresume_path"]=normpath(self.settings["storedir"]+\