def check_folder_writable(checkfolder):
if not os.access(checkfolder, os.W_OK):
logging.error("You don't have access to %s" % checkfolder)
sys.exit(1)
# Function that gets protected packages or returns an empty dictionary
评论列表
文章目录