summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2013-10-23 19:27:10 +0200
committerJulian Andres Klode <jak@debian.org>2013-10-23 19:27:10 +0200
commit0d616ec4ef49064412b27275dbbb1cb04b546fb5 (patch)
tree1863e5920669e737632f871a4229cbc3d0369c6d /python/apt_pkgmodule.cc
parent0033e9b728a553bff0caa81d4c500532d5ba9ca1 (diff)
downloadpython-apt-0d616ec4ef49064412b27275dbbb1cb04b546fb5.tar.gz
python/*.cc: Get rid of the easy-to-replace deprecated APT functions
We cannot get rid of the InstallProtect and StrToTime calls for backwards compatibility, but let's drop the others.
Diffstat (limited to 'python/apt_pkgmodule.cc')
-rw-r--r--python/apt_pkgmodule.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc
index a3916021..644827c3 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -21,7 +21,7 @@
#include <apt-pkg/tagfile.h>
#include <apt-pkg/md5.h>
#include <apt-pkg/sha1.h>
-#include <apt-pkg/sha256.h>
+#include <apt-pkg/sha2.h>
#include <apt-pkg/init.h>
#include <apt-pkg/pkgsystem.h>
#include <apt-pkg/orderlist.h>