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

Bug #602310 reported by arky
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Released
Low
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

Tags: patch
Revision history for this message
David Stansby (dstansby-deactivatedaccount) wrote :

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

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
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
Revision history for this message
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
Revision history for this message
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
      test_update_from_var_lib_apt_lists
  * 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
      DB
  * 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,
    softwarecenter/view/historypane.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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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