summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-05-13 16:03:07 -0700
committerZac Medico <zmedico@gentoo.org>2010-05-13 16:03:07 -0700
commit5e571d41ae8c359ccd432506913046ef5ba1685a (patch)
tree31718b2f78b3bb778a717ee45c349661f8bdcd14
parentUse bytes literals in instead of _unicode_encode() where appropriate (diff)
downloadportage-idfetch-5e571d41ae8c359ccd432506913046ef5ba1685a.tar.gz
portage-idfetch-5e571d41ae8c359ccd432506913046ef5ba1685a.tar.bz2
portage-idfetch-5e571d41ae8c359ccd432506913046ef5ba1685a.zip
Define __all__.
-rw-r--r--pym/portage/xpak.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pym/portage/xpak.py b/pym/portage/xpak.py
index 4835f26c..36aad39f 100644
--- a/pym/portage/xpak.py
+++ b/pym/portage/xpak.py
@@ -1,4 +1,4 @@
-# Copyright 2001-2004 Gentoo Foundation
+# Copyright 2001-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
@@ -15,6 +15,11 @@
# (integer) == encodeint(integer) ===> 4 characters (big-endian copy)
# '+' means concatenate the fields ===> All chunks are strings
+__all__ = ['addtolist', 'decodeint', 'encodeint', 'getboth',
+ 'getindex', 'getindex_mem', 'getitem', 'listindex',
+ 'searchindex', 'tbz2', 'xpak_mem', 'xpak', 'xpand',
+ 'xsplit', 'xsplit_mem']
+
import array
import errno
import shutil