Integrate corrected char expressions into Liam code36
This commit is contained in:
@@ -39,7 +39,10 @@ parser.add_argument('--user-authorized-debug-sha',help='Explicit exact user-auth
|
||||
parser.add_argument('--metadata-only',action='store_true',help='Only the actual manifest admission, without repeating fixtures')
|
||||
parser.add_argument('--rejection-report',type=Path,help='New bounded structural field report; no raw values')
|
||||
args = parser.parse_args()
|
||||
if args.user_authorized_debug_sha and (not args.index_manifest or args.user_authorized_debug_sha!='208f703ed92bf795bfeb78a1cef89b67bed2e45da80038a56157fd1ecd4cfa93'): parser.error('Exact authorized correct03 index required')
|
||||
if args.user_authorized_debug_sha and (not args.index_manifest or not any(
|
||||
row.get('userAuthorizedDebug') is True and row['indexSha256']==args.user_authorized_debug_sha
|
||||
for row in json.loads((ROOT/'manifests/character-build-profiles.json').read_bytes())['mediaBundles'].values())):
|
||||
parser.error('Exact catalogued user-authorized index required')
|
||||
if args.index_manifest and args.runtime_manifest: parser.error('Choose runtime or index manifest, not both')
|
||||
if args.metadata_only and not (args.index_manifest or args.runtime_manifest): parser.error('Actual manifest required')
|
||||
if args.rejection_report and (not args.index_manifest or args.rejection_report.exists()): parser.error('Index and new rejection report required')
|
||||
|
||||
Reference in New Issue
Block a user