diff options
author | Rob Austein <sra@hactrn.net> | 2007-10-09 20:14:06 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-10-09 20:14:06 +0000 |
commit | 4e209db23aa48288736d3c9990660a0702bd6da8 (patch) | |
tree | 0381f5197b91b90b4502695059c60e75ca226320 /scripts/manifests.py | |
parent | 2b6adf23df4b86d1ad35d6d018bb2383a13cb33f (diff) |
Cleanup
svn path=/scripts/manifests.py; revision=1139
Diffstat (limited to 'scripts/manifests.py')
-rw-r--r-- | scripts/manifests.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/manifests.py b/scripts/manifests.py index abf0441b..daeb4173 100644 --- a/scripts/manifests.py +++ b/scripts/manifests.py @@ -28,6 +28,8 @@ mani2 = m.get_content() assert mani1.toString() == mani2.toString() -f = os.popen("dumpasn1 -a - 2>/dev/null", "w") -f.write(mani2.toString()) -f.close() +i,o = os.popen4(("dumpasn1", "-a", "-")) +i.write(mani2.toString()) +i.close() +print "\n".join(x for x in o.read().splitlines() if x.startswith(" ")) +o.close() |