make metadata collection files add build time

This commit is contained in:
Mattias Andrée 2012-11-03 09:53:41 +01:00
parent ce23f8892a
commit 33ad647e31

View file

@ -493,7 +493,8 @@ class Setup():
for sharedir in [sharedir[0] for sharedir in sharedirs]: for sharedir in [sharedir[0] for sharedir in sharedirs]:
for sharefile in os.listdir(conf[sharedir]): for sharefile in os.listdir(conf[sharedir]):
if sharefile.endswith('.pony') and (sharefile != '.pony'): if sharefile.endswith('.pony') and (sharefile != '.pony'):
Popen(['./ponysay-tool.py', '--dimensions', conf[sharedir]], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate() for toolcommand in ('--dimensions', '--metadata'):
Popen(['./ponysay-tool.py', toolcommand, conf[sharedir]], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate()
break break
for shell in [item[0] for item in shells]: for shell in [item[0] for item in shells]: