deprecation warnings about debian_bundle

Bug #620288 reported by Martin Pool
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-builddeb
Fix Released
Undecided
Martin Pool

Bug Description

It seems like this must already be a dupe, but on maverick we get a lot of

/home/mbp/.bazaar/plugins/builddeb/tests/blackbox/test_mark_uploaded.py:21: DeprecationWarning: please use 'debian' instead of 'debian_bundle'

Will just a simple search and replace do, or do these perhaps need to be conditionally guarded to keep builddeb working on older releases?

Related branches

Revision history for this message
Martin Pool (mbp) wrote :

I see there are already some guards like this:

try:
    from debian.changelog import Changelog, Version
except ImportError:
    # Prior to 0.1.15 the debian module was called debian_bundle
    from debian_bundle.changelog import Changelog, Version

so I'll just add some more.

Martin Pool (mbp)
Changed in bzr-builddeb:
status: New → In Progress
assignee: nobody → Martin Pool (mbp)
James Westby (james-w)
Changed in bzr-builddeb:
status: In Progress → Fix Committed
James Westby (james-w)
Changed in bzr-builddeb:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.