summaryrefslogtreecommitdiff
path: root/python/sourcelist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/sourcelist.cc')
-rw-r--r--python/sourcelist.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/python/sourcelist.cc b/python/sourcelist.cc
index 0bee8d8c..6f039244 100644
--- a/python/sourcelist.cc
+++ b/python/sourcelist.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: sourcelist.cc,v 1.1 2003/07/23 02:20:24 mdz Exp $
+// $Id: sourcelist.cc,v 1.2 2003/12/26 17:04:22 mdz Exp $
/* ######################################################################
Package Records - Wrapper for the package records functions
@@ -73,11 +73,6 @@ PyTypeObject PkgSourceListType =
PyObject *GetPkgSourceList(PyObject *Self,PyObject *Args)
{
- PyObject *Owner;
-// if (PyArg_ParseTuple(Args,"O!",&PkgCacheType,&Owner) == 0)
-// return 0;
-
- return HandleErrors(CppOwnedPyObject_NEW<PkgSourceListStruct>(Owner,
- &PkgSourceListType));
+ return CppPyObject_NEW<PkgSourceListStruct>(&PkgSourceListType);
}