def mkdir_usergarbage(user): dir_usergarbage = Dirname.usergarbage(user) _mkdir(dir_usergarbage, uid = user.profile.userid, gid = user.profile.groupid)
def mkdir_usergarbage(user): dir_usergarbage = Dirname.usergarbage(user) _mkdir(dir_usergarbage, uid=user.profile.userid, gid=user.profile.groupid)
def check_usergarbage(user): dir_usergarbage = Dirname.usergarbage(user) assert os.path.exists(dir_usergarbage), "Folder %s does not exist" % dir_usergarbage
def check_usergarbage(user): dir_usergarbage = Dirname.usergarbage(user) assert os.path.exists( dir_usergarbage), "Folder %s does not exist" % dir_usergarbage