diff options
| author | Michael Vogt <mvo@debian.org> | 2014-06-10 16:44:03 +0200 |
|---|---|---|
| committer | Michael Vogt <mvo@debian.org> | 2014-06-10 16:44:03 +0200 |
| commit | 1b6b123a052ca2d53e90b62da09ce300d701265a (patch) | |
| tree | 2279c1f66853c40413a1bfb1c758368037d8b7c1 /python/tag.cc | |
| parent | 9de6a183f09f0d0adbcc5817872c5a0024f5ef47 (diff) | |
| parent | 887406dbb341ed684cd898f15b133baac252bc25 (diff) | |
| download | python-apt-1b6b123a052ca2d53e90b62da09ce300d701265a.tar.gz | |
Merge remote-tracking branch 'mvo/feature/srcrec-enum' into debian/sid
Conflicts:
debian/control
Diffstat (limited to 'python/tag.cc')
| -rw-r--r-- | python/tag.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/tag.cc b/python/tag.cc index 50786cee..bab7811e 100644 --- a/python/tag.cc +++ b/python/tag.cc @@ -290,6 +290,8 @@ static PyObject *TagSecStr(PyObject *Self) const char *Start; const char *Stop; GetCpp<pkgTagSection>(Self).GetSection(Start,Stop); + printf("%x\n", &GetCpp<pkgTagSection>(Self)); + std::cerr << Start << std::endl; return TagSecString_FromStringAndSize(Self,Start,Stop-Start); } /*}}}*/ @@ -488,7 +490,6 @@ static PyObject *TagFileNew(PyTypeObject *type,PyObject *Args,PyObject *kwds) New->Section = (TagSecData*)(&PyTagSection_Type)->tp_alloc(&PyTagSection_Type, 0); new (&New->Section->Object) pkgTagSection(); New->Section->Owner = New; - Py_INCREF(New->Section->Owner); New->Section->Data = 0; New->Section->Bytes = Bytes; #if PY_MAJOR_VERSION >= 3 |
