historypane.py: Use 'debian' instead of 'debian_bundle' from debian_bundle import deb822

Bug #602310 reported by arky on 2010-07-06
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Michael Bienia

Bug Description

Binary package hint: software-center

Warnings (harmless warnings)

DEBUG:root:get_distro: 'Ubuntu'
/usr/share/software-center/softwarecenter/view/historypane.py:30: DeprecationWarning: please use 'debian' instead of 'debian_bundle'
  from debian_bundle import deb822

Confirmed, just saw this when updating software-center from 2.1.4 to 2.1.5

Changed in software-center (Ubuntu):
status: New → Confirmed
Michael Bienia (geser) wrote :

Here is a patch for it.

And "python-debian (>= 0.1.15)" (that the version where debian_bundle got deprecated in favor of debian) should get added to Depends (or at least Recommends depending on how important that Python code is for the functionality of software-center).

tags: added: patch
Gary Lasker (gary-lasker) wrote :

Patch applied and fix committed to trunk. Thanks very much for your patch, Michael, it's very much appreciated!

Changed in software-center (Ubuntu):
assignee: nobody → Michael Bienia (geser)
importance: Undecided → Low
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package software-center - 2.1.7

software-center (2.1.7) maverick; urgency=low

  [ Gary Lasker ]
  * softwarecenter/view/availablepane.py:
    - restore missing busy cursor when loading applist
      views (LP: #610688)
    - fix visual glitch when navigating back to a subcategory
      list view from a details view (LP: #611108)
  * debian/control:
    - add depends python-debian (>= 0.1.15)
  * softwarecenter/backend/channel.py:
    - add an "App Expo" item in the left navigation pane for
      display of the contents of the (for now) app review
      board PPA
  * test/test_database.py:
    - update test for parse_axi_values_file change, fix
  * softwarecenter/backend/channel.py:
    - add a new "Other" item in the left navigation pane
      for display of software items for which a corresponding
      repository is not available (LP: #524379, LP: #596409)

  [ Michael Vogt ]
  * softwarecenter/view/widgets/actionbar.py:
    - fix crash in action buttons
  * softwarecenter/db/update.py:
    - support additional metadata from Packages file for the
      "Whats new" repository (and possible others)
    - add axi catalogedtime information to the app-install-data
  * softwarecenter/db/database.py:
    - export parse_axi_values_file()

  [ Bilal Akhtar ]
  * softwarecenter/app.py:
    - Prevent About dialog from being set as modal. (LP: #550955)

  [ Michael Bienia ]
  * softwarecenter/apt/apthistory.py,
    - fix DeprecationWarning at startup (LP: #602310)
 -- Michael Vogt <email address hidden> Fri, 30 Jul 2010 21:35:56 +0200

Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers