Package: python-apt
Severity: normal
Version: 0.5.4.3

[EMAIL PROTECTED]:~$ /usr/bin/python2.1 bugfile
Reading Package Lists... Done
Building Dependency Tree... Done
Traceback (most recent call last):
  File "bugfile", line 4, in ?
    a.Packages()
TypeError: object of type 'pkgCache::PkgIterator' is not callable
[EMAIL PROTECTED]:~$ cat bugfile
import apt_pkg
apt_pkg.init()
a=apt_pkg.GetCache()
a.Packages()


Is there some other way to call .Packages()? It seems to be some internal
problem within .Packages(), where it is calling a wrong object.

Thanks in advance,
Moshe Zadka


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to