INNER CODE UNIT · Python

db

fyoorer/ShadowClone · shadowclone.py:202

    db = pickledb.load(config.PICKLE_DB, False) # set auto-dump to false

    if args.splitnum:
        try:
            SPLIT_NUM = int(args.splitnum)
        except:
            SPLIT_NUM = 100
    else:
        SPLIT_NUM = 100     # default to 100

    if args.nosplit:
        nosplit_file = args.nosplit
        if os.path.exists(nosplit_file):
            printerr("[INFO] Uploading NOSPLIT file to storage as-is")
            nosplit_s3 = upload_to_bucket(nosplit_file, True)
            # print(nosplit_s3)
        else:
            printerr("[ERROR] --no-split: File not found")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…