Skip tags without expanded value

pull/24/head
Alexandre Dulaunoy 2016-06-21 07:35:55 +02:00
parent 71207076d8
commit 150e7630dc
1 changed files with 2 additions and 1 deletions

View File

@ -119,6 +119,7 @@ for taxonomy in taxonomies:
else: else:
print (machineTag(namespace=namespace, predicate=e['predicate'], value=v['value'])) print (machineTag(namespace=namespace, predicate=e['predicate'], value=v['value']))
if args.e: if args.e:
if'expanded' in v:
print ("--> " + machineTag(namespace=namespace, predicate=expanded, value=v['expanded'])) print ("--> " + machineTag(namespace=namespace, predicate=expanded, value=v['expanded']))
if args.a: if args.a: