Python 2.6 DeprecationWarning: Accessed deprecated property Package.candidateDownloadable

Bug #407127 reported by Marco Rodrigues on 2009-07-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
computer-janitor (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: computer-janitor

$ sudo computer-janitor cleanup --all
/usr/lib/python2.6/dist-packages/computerjanitorapp/app.py:152: DeprecationWarning: Accessed deprecated property Package.candidateDownloadable, please see the Version class for alternatives.
  if not self.apt_cache[name].candidateDownloadable:
/usr/share/computerjanitor/plugins/unsupported_plugin.py:101: DeprecationWarning: Accessed deprecated property Package.installedDownloadable, please see the Version class for alternatives.
  if pkg.installedDownloadable or pkg.candidateDownloadable:
/usr/share/computerjanitor/plugins/unsupported_plugin.py:101: DeprecationWarning: Accessed deprecated property Package.candidateDownloadable, please see the Version class for alternatives.
  if pkg.installedDownloadable or pkg.candidateDownloadable:
/usr/share/computerjanitor/plugins/unsupported_plugin.py:79: DeprecationWarning: Accessed deprecated property Package.installedDependencies, please see the Version class for alternatives.

tags: added: python2.6
to be removed (liw) on 2009-08-18
Changed in computer-janitor (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
status: Confirmed → Triaged
to be removed (liw) wrote :

This was actually in the portion of computer-janitor that is in the update-manager source tree. I've sent in a patch for Michael, should be fixed in the next update-manager upload.

Changed in computer-janitor (Ubuntu):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package computer-janitor - 1.13.2-0ubuntu1

---------------
computer-janitor (1.13.2-0ubuntu1) karmic; urgency=low

  * New upstream version. Closes bugs in Launchpad:
    - System cleaner removes explicitly installed third-party packages
      (LP: #285746)
    - I do not want to remove '/' (LP: #337241)
    - computer-janitor incomplete error description (LP: #365325)
    - computer-janitor commandline interface not pipe-friendly (LP: #375094)
    - Python 2.6 DeprecationWarning: Accessed deprecated property
      Package.candidateDownloadable (LP: #407127)
    - Should use GtkBuilder rather than libglade (LP: #403537)
    - Ambiguous wording in confirmation alert box (LP: #349336)
    - computer-janitor-gtk crashed with UnicodeDecodeError in
      get_description() (LP: #352461)
    - Can't deselect fixes with space in computer-janitor (LP: #355535)
    - relatime tweak will not be necessary in karmic (LP: #369151)
    - computer janitor needs filesize column (LP: #396522)
  * Packaging now uses dh from debhelper 7.

 -- Lars Wirzenius <email address hidden> Fri, 21 Aug 2009 15:48:12 +0300

Changed in computer-janitor (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.

Other bug subscribers