Attribute 'FindDir' of the 'apt_pkg.Configuration' object is deprecated, use 'find_dir' instead

Bug #617471 reported by Oleksij Rempel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I get warning by using add-apt-repository:

Attribute 'FindI' of the 'apt_pkg.Configuration' object is deprecated, use 'find_i' instead.

Attribute 'FindDir' of the 'apt_pkg.Configuration' object is deprecated, use 'find_dir' instead.

complete log:
add-apt-repository ppa:ubuntu-mozilla-daily/ppa
/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py:114: DeprecationWarning: Attribute 'FindI' of the 'apt_pkg.Configuration' object is deprecated, use 'find_i' instead.
  value = apt_pkg.Config.FindI(softwareproperties.CONF_MAP[option])
/usr/lib/python2.6/dist-packages/softwareproperties/ppa.py:43: DeprecationWarning: Attribute 'FindDir' of the 'apt_pkg.Configuration' object is deprecated, use 'find_dir' instead.
  sourceslistd = apt_pkg.Config.FindDir("Dir::Etc::sourceparts")
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv B34505EA326FEAEA07E3618DEF4186FE247510BE
gpg: Schlüssel 247510BE von hkp Server keyserver.ubuntu.com anfordern
gpg: Schlüssel 247510BE: Öffentlicher Schlüssel "Launchpad PPA for Ubuntu Mozilla Daily Build Team" importiert
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1
gpg: importiert: 1 (RSA: 1)

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-software-properties 0.75.11
ProcVersionSignature: Ubuntu 2.6.35-14.19-generic 2.6.35
Uname: Linux 2.6.35-14-generic x86_64
Architecture: amd64
Date: Fri Aug 13 18:18:54 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100803.1)
PackageArchitecture: all
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: software-properties

Revision history for this message
Oleksij Rempel (olerem) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

This was fixed a while ago.

Changed in software-properties (Ubuntu):
status: New → Fix Committed
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.