From dc2ef3f705bdbef0af7dcb3bc591457617b0b68c Mon Sep 17 00:00:00 2001 From: Tomas Mlcoch Date: Wed, 5 Jun 2013 10:54:49 +0200 Subject: [PATCH] python: Add short contants for compression algorithms (GZ, BZ2 and XZ). --- src/python/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/__init__.py b/src/python/__init__.py index 8208895..5960e3a 100644 --- a/src/python/__init__.py +++ b/src/python/__init__.py @@ -22,6 +22,9 @@ NO_COMPRESSION = _createrepo_c.NO_COMPRESSION GZ_COMPRESSION = _createrepo_c.GZ_COMPRESSION BZ2_COMPRESSION = _createrepo_c.BZ2_COMPRESSION XZ_COMPRESSION = _createrepo_c.XZ_COMPRESSION +GZ = _createrepo_c.GZ_COMPRESSION +BZ2 = _createrepo_c.BZ2_COMPRESSION +XZ = _createrepo_c.XZ_COMPRESSION HT_KEY_DEFAULT = _createrepo_c.HT_KEY_DEFAULT HT_KEY_HASH = _createrepo_c.HT_KEY_HASH -- 2.7.4