summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2015-09-30 09:08:16 (GMT)
committerMichael Vogt <mvo@debian.org>2015-09-30 09:08:16 (GMT)
commit598bbabf7a97962426e70233430cda78182b453b (patch)
tree91b9842c8b89972f8d70409f46fb93e2eb4521b2
parent92f7e29f55bc0f4bf7bf9cc78730814700fb2284 (diff)
Fix build-dependencies parsing from debian/control
We have now bindings for OpenMaybeClearsignedFile() so we no longer need to check for the "Format:" key in the build-dep parsing code. This makes "gdebi debian/control" work again (which does not contain a "Format:" line).
-rw-r--r--apt/debfile.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/apt/debfile.py b/apt/debfile.py
index 3f4bca4..456bffa 100644
--- a/apt/debfile.py
+++ b/apt/debfile.py
@@ -725,11 +725,6 @@ class DscSrcPackage(DebPackage):
tagfile = apt_pkg.TagFile(fobj)
try:
for sec in tagfile:
- # we only care about the stanza with the "Format:" tag, the
- # rest is gpg signature noise. we should probably have
- # bindings for apts OpenMaybeClearsignedFile()
- if "Format" not in sec:
- continue
for tag in depends_tags:
if tag not in sec:
continue