Comment 2 for bug 270527

Revision history for this message
XXXXXXX (yddraiggoch) wrote :

After applying the patch i get the following Traceback:

Unhandled exception in thread started by <bound method MyCache.get_changelog of <UpdateManager.UpdateManager.MyCache object at 0x923994c>>
Traceback (most recent call last):
  File "/home/richie/apt-sources/update-manager/update-manager-0.93.15/UpdateManager/UpdateManager.py", line 256, in get_changelog
    if srcver_epoch:
UnboundLocalError: local variable 'srcver_epoch' referenced before assignment

Not all packages need the epoch stripping, which meant the srcver_epoch variable wasn't always getting set. Moving 'srcver_epoch = srcver' before the if statement worked fine for me.