diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-12 19:07:55 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-12 19:07:55 +0200 |
| commit | 5b489a994d009771d7f4d5beec45bbbb5468cd58 (patch) | |
| tree | 799087779e02af7648232dcf36889263329408d7 /python/apt_pkgmodule.cc | |
| parent | 64513033774fb0264c601f021da5d5f6345c3dd4 (diff) | |
| download | python-apt-5b489a994d009771d7f4d5beec45bbbb5468cd58.tar.gz | |
python/hashes.cc: Introduce the Hashes class.
The Hashes class is a function which calculates all supported hashes for
one input. DebImg will use this for calculating the hashes of files.
Diffstat (limited to 'python/apt_pkgmodule.cc')
| -rw-r--r-- | python/apt_pkgmodule.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc index 3f4aae37..4c0fd5ed 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -618,6 +618,7 @@ extern "C" void initapt_pkg() ADDTYPE(Module,"IndexRecords",&PyIndexRecords_Type); ADDTYPE(Module,"HashString",&PyHashString_Type); ADDTYPE(Module,"Policy",&PyPolicy_Type); + ADDTYPE(Module,"Hashes",&PyHashes_Type); // Tag file constants PyModule_AddObject(Module,"REWRITE_PACKAGE_ORDER", CharCharToList(TFRewritePackageOrder)); |
