From 652a7312b21aa7121c0075c3c970d5f68fcdf648 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 20 Jul 2009 18:04:19 +0200 Subject: python/lock.cc: Introduce apt_pkg.SystemLock context manager. This is the new alternative to pkgsystem_lock() and pkgsystem_unlock(), and is the recommended one. --- python/apt_pkgmodule.h | 1 + 1 file changed, 1 insertion(+) (limited to 'python/apt_pkgmodule.h') diff --git a/python/apt_pkgmodule.h b/python/apt_pkgmodule.h index 1277ab60..de70c056 100644 --- a/python/apt_pkgmodule.h +++ b/python/apt_pkgmodule.h @@ -117,6 +117,7 @@ extern PyTypeObject PyAcquireProgress_Type; extern PyTypeObject PyCdromProgress_Type; extern PyTypeObject PyAcquireItemDesc_Type; extern PyTypeObject PyAcquireWorker_Type; +extern PyTypeObject PySystemLock_Type; #include "python-apt.h" #endif -- cgit v1.2.3