summaryrefslogtreecommitdiff
path: root/python/pkgrecords.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-11-18 01:01:37 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-11-18 01:01:37 +0000
commitc187e828e1661d09a8437214b2f90dcc25c05c99 (patch)
treea08f97e80e66887baafa5bd41384ab78ff92b082 /python/pkgrecords.cc
parent4da233eef44c921152daf224a043ab8e2181ef9f (diff)
downloadpython-apt-c187e828e1661d09a8437214b2f90dcc25c05c99.tar.gz
* basic pkgAcquire + pkgPackageManager support added
Diffstat (limited to 'python/pkgrecords.cc')
-rw-r--r--python/pkgrecords.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/python/pkgrecords.cc b/python/pkgrecords.cc
index 7f5aa0e2..a85b570a 100644
--- a/python/pkgrecords.cc
+++ b/python/pkgrecords.cc
@@ -10,20 +10,12 @@
// Include Files /*{{{*/
#include "generic.h"
#include "apt_pkgmodule.h"
+#include "pkgrecords.h"
-#include <apt-pkg/pkgrecords.h>
#include <Python.h>
/*}}}*/
-struct PkgRecordsStruct
-{
- pkgRecords Records;
- pkgRecords::Parser *Last;
-
- PkgRecordsStruct(pkgCache *Cache) : Records(*Cache), Last(0) {};
- PkgRecordsStruct() : Records(*(pkgCache *)0) {abort();}; // G++ Bug..
-};
// PkgRecords Class /*{{{*/
// ---------------------------------------------------------------------