Lines Matching refs:pkgdatafile
253 def parse_pkgdatafile(pkgdatafile): argument
254 with open(pkgdatafile, 'r') as f:
262 logger.error("Unable to find PN entry in %s" % pkgdatafile)
276 pkgdatafile = os.path.join(args.pkgdata_dir, "runtime", f)
277 parse_pkgdatafile(pkgdatafile)
279 pkgdatafile = os.path.join(args.pkgdata_dir, 'runtime-reverse', pkg)
280 if os.path.exists(pkgdatafile):
281 parse_pkgdatafile(pkgdatafile)
290 def parse_pkgdatafile(pkgdatafile): argument
294 with open(pkgdatafile, 'r') as f:
342 pkgdatafile = os.path.join(args.pkgdata_dir, "runtime", f)
343 parse_pkgdatafile(pkgdatafile)
345 pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg)
346 if not os.path.exists(pkgdatafile):
349 parse_pkgdatafile(pkgdatafile)
437 def parse_pkgdatafile(pkgdatafile, long=False): argument
438 with open(pkgdatafile, 'r') as f:
454 logger.error("Unable to find FILES_INFO entry in %s" % pkgdatafile)
479 pkgdatafile = os.path.join(args.pkgdata_dir, "runtime-reverse", pkg)
480 if not os.path.exists(pkgdatafile):
486 parse_pkgdatafile(pkgdatafile, args.long)
494 pkgdatafile = os.path.join(args.pkgdata_dir, "runtime", f)
495 parse_pkgdatafile(pkgdatafile, args.long)
497 pkgdatafile = os.path.join(args.pkgdata_dir, "runtime", pkg)
498 if not os.path.exists(pkgdatafile):
501 parse_pkgdatafile(pkgdatafile, args.long)