Comment 2 for bug 724043

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 724043] Re: Incompatible with python-debian/lucid

On Sat, 26 Feb 2011 19:13:16 -0000, Max Bowsher <email address hidden> wrote:
> Examples of the interesting tracebacks:
>
> File "/build/buildd/bzr-builddeb-2.6+bzr526.527~lucid1/util.py", line 671, in guess_build_type
> version_native = (not version.debian_revision)
> AttributeError: 'Version' object has no attribute 'debian_revision'

That's odd. I'm pretty sure that debian_revision has always been an
attribute.

> File "/build/buildd/bzr-builddeb-2.6+bzr526.527~lucid1/tests/test_upstream.py", line 390, in test_new_tagged_release
> _upstream_branch_version(self.revhistory, {"somerevid": [u"1.3"]}, "bla", "1.2", self.get_suffix))
> File "/usr/lib/pymodules/python2.6/bzrlib/tests/__init__.py", line 1218, in assertEqual
> if a == b:
> File "/usr/lib/pymodules/python2.6/debian_bundle/debian_support.py", line 81, in __cmp__
> return apt_pkg.VersionCompare(self.__asString, other.__asString)
> AttributeError: 'str' object has no attribute '_Version__asString'

That looks more clear cut. It's probably missing a ".upstream_version"
on a somewhere.

Thanks,

James