summaryrefslogtreecommitdiff
path: root/python/generic.cc
AgeCommit message (Collapse)AuthorFilesLines
2013-10-08python/generic.cc: Move PyApt_Filename::init hereJulian Andres Klode1-0/+23
2013-09-11Remove old API compatibility C++ support codeJulian Andres Klode1-69/+0
2010-03-26Merge with mvo, with the following changes:Julian Andres Klode1-0/+1
* python/generic.cc is changed instead of python/indexfile.cc to add the ArchiveURI property * tests/test_apt_cache.py is changed to assert the properties of the Dependency object instead of assigning them to a variable. The additions to the changelog are: [ Julian Andres Klode ] - Map ArchiveURI property to archive_uri [ Michael Vogt ] * apt/cache.py: - make cache open silent by default (use apt.progress.base.OpProgress) * tests/data/aptsources_ports/sources.list: - fix ports test-data * tests/test_apt_cache.py: - add simple test for basic cache/dependency iteration
2010-03-23merge from debian-sidMichael Vogt1-0/+6
2010-03-15Correctly fix the last one, PyErr_Restore takes a reference.Julian Andres Klode1-0/+3
2010-03-15* python/generic.cc:Julian Andres Klode1-0/+3
- Fix a memory leak when using old attribute names.
2010-03-12merged from debian-sidMichael Vogt1-0/+63
2010-03-09python/generic.cc: use std::string instead of stringMichael Vogt1-2/+2
2010-03-03python/generic.cc: Map UntranslatedDepType to dep_type_untranslated.Julian Andres Klode1-0/+1
2010-02-27* python:Julian Andres Klode1-0/+62
- Handle deprecated attributes and methods in the tp_gettattro slot, this allows us to easily warn if a deprecated function is used.
2010-02-02Remove inline functions from the C++ API, export them instead (part 2).Julian Andres Klode1-0/+2
2009-06-25python/cache.cc: Support unicode objects and str objects in Python 2.Julian Andres Klode1-1/+2
2008-05-16Remove trailing whitespace.Ben Finney1-6/+6
2005-08-04* applied a patch from Chris Halls to return the apt error string on a ↵Michael Vogt1-6/+11
system error exception (thanks chris!)
2004-11-24Filler changeset 1.1->1.1.1.1Arch Librarian1-1/+1
Author: jgg Date: 2001-02-20 06:32:02 GMT Filler changeset 1.1->1.1.1.1
2004-11-24Initial revisionArch Librarian1-0/+86
Author: jgg Date: 2001-02-20 06:32:01 GMT Initial revision