Comment 2 for bug 740372

Revision history for this message
Matt Zimmerman (mdz) wrote :

axi_values = parse_axi_values_file()

...

perseus:[~] PYTHONPATH=/usr/share/software-center python
Python 2.7.1+ (r271:86832, Feb 24 2011, 15:00:15)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from softwarecenter.db.database import parse_axi_values_file
>>> print parse_axi_values_file()
None

...

def parse_axi_values_file(filename="/var/lib/apt-xapian-index/values"):

...

perseus:[~] less /var/lib/apt-xapian-index/values
/var/lib/apt-xapian-index/values: No such file or directory

...which is because I don't have apt-xapian-index installed.