← Back to team overview

touch-packages team mailing list archive

[Bug 1503979] Re: ubuntu-support-status throws exeption No date tag found (regression)

 

There's no real point doing that:

+    if path.endswith('InRelease'):
+        data = os.fdopen(apt_pkg.open_maybe_clear_signed_file(path))
+    else:
+        data = open(path)

Just use the open_maybe_clear_signed_file path all the time, that's why
it's "maybe" after all.

+                for relfile in ['Release', 'InRelease']:

I'd prefer that the other way around.

Would be nice if you could send a git commit without the changelog entry
upstream, then we can apply it to the git repository. Best with a commit
message like this:

apt/utils.py: changes to parse InRelease files   [or better something
starting with a verb]

<LONG DESCRIPTION>

LP: #1503979

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1503979

Title:
  ubuntu-support-status throws exeption No date tag found (regression)

Status in python-apt package in Ubuntu:
  Confirmed
Status in update-manager package in Ubuntu:
  Confirmed

Bug description:
  Description:	Ubuntu 14.04.3 LTS
  Release:	14.04
  update-manager-core:  1:0.196.14

  Since the last update  ubuntu-support-status throws

  Traceback (most recent call last):
    File "/usr/bin/ubuntu-support-status", line 133, in <module>
      pkg.name, support_tag)
    File "/usr/bin/ubuntu-support-status", line 49, in get_maintenance_status
      raise Exception("No date tag found")
  Exception: No date tag found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1503979/+subscriptions