|
|
os.makedirs(myemp,0755) | os.makedirs(myemp,0755) |
os.chown(myemp,mystat[ST_UID],mystat[ST_GID]) | os.chown(myemp,mystat[ST_UID],mystat[ST_GID]) |
os.chmod(myemp,mystat[ST_MODE]) | os.chmod(myemp,mystat[ST_MODE]) |
|
myemp=self.settings["chroot_path"]+"/tmp/.clst_portage" |
|
if os.path.isfile(myemp): |
|
os.unlink(myemp) |
| |
def gen_digest_file(self,file): | def gen_digest_file(self,file): |
if os.path.exists(file+".DIGESTS"): | if os.path.exists(file+".DIGESTS"): |