diff options
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() |