summaryrefslogtreecommitdiff
path: root/doc/examples/records.py
AgeCommit message (Collapse)AuthorFilesLines
2009-03-08apt/cache.py: If no progress is given for cache open, use OpProgress.Julian Andres Klode1-3/+3
Also fix doc/examples/records.py to use Package.candidate.*
2008-08-08'mapping.has_key' is deprecated, use current Python 'key in mapping' idiom.Ben Finney1-1/+1
2008-05-16Limit code lines to maximum 79 characters, to conform with PEP 8.Ben Finney1-1/+2
2008-05-16Fix code indentation to 4 spaces, to conform with PEP 8.Ben Finney1-5/+5
2007-06-28* python/package.py:Michael Vogt1-0/+12
- added Record class that can be accessed like a dictionary and return it in candidateRecord and installedRecord (thanks to Alexander Sack for discussing this with me) * doc/examples/records.py: - added example how to use the new Records class