diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-30 20:42:44 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-30 20:42:44 +0200 |
| commit | 9b52f302a694ee3d7d02110dbdb935bafbf42e55 (patch) | |
| tree | 307dd33e45f72e2e9f4d87cca0ea4a5a4824ce5b /python/cdrom.cc | |
| parent | 7c19d9450b549180a6f0071f1d980dcf360c8921 (diff) | |
| download | python-apt-9b52f302a694ee3d7d02110dbdb935bafbf42e55.tar.gz | |
python/cdrom.cc: Fix build failure with COMPAT_0_7.
This was introduced during the partial rewrite of this file.
Diffstat (limited to 'python/cdrom.cc')
| -rw-r--r-- | python/cdrom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/cdrom.cc b/python/cdrom.cc index 521937f5..2270b01c 100644 --- a/python/cdrom.cc +++ b/python/cdrom.cc @@ -165,6 +165,6 @@ PyObject *GetCdrom(PyObject *Self,PyObject *Args) { PyErr_WarnEx(PyExc_DeprecationWarning, "apt_pkg.GetCdrom() is deprecated. " "Please see apt_pkg.Cdrom() for the replacement.", 1); - return PkgCdromNew(&PyCdrom_Type,Args,0); + return cdrom_new(&PyCdrom_Type,Args,0); } #endif |
