sys.exit(1)
# Construct the metadata...
- app = metadata.parse_metadata(None)[1]
+ app = metadata.parse_txt_metadata(None)[1]
app['Web Site'] = website
app['Source Code'] = sourcecode
if issuetracker:
# Read all metadata. Returns a list of 'app' objects (which are dictionaries as
-# returned by the parse_metadata function.
+# returned by the parse_txt_metadata function.
def read_metadata(xref=True):
# Always read the srclibs before the apps, since they can use a srlib as
os.makedirs(basedir)
for metafile in sorted(glob.glob(os.path.join('metadata', '*.txt'))):
- appid, appinfo = parse_metadata(metafile)
+ appid, appinfo = parse_txt_metadata(metafile)
check_metadata(appinfo)
apps[appid] = appinfo
# 'descriptionlines' - original lines of description as formatted in the
# metadata file.
#
-def parse_metadata(metafile):
+def parse_txt_metadata(metafile):
appid = None
linedesc = None