diff --git a/oxlib/file.py b/oxlib/file.py index 63eb39c..e5695b2 100644 --- a/oxlib/file.py +++ b/oxlib/file.py @@ -10,6 +10,7 @@ import subprocess import simplejson +__all__ = ['sha1sum', 'oshash', 'avinfo'] def sha1sum(filename): sha1 = hashlib.sha1() diff --git a/oxlib/torrent/__init__.py b/oxlib/torrent/__init__.py index 79dbb98..2ca89d1 100644 --- a/oxlib/torrent/__init__.py +++ b/oxlib/torrent/__init__.py @@ -8,6 +8,7 @@ import os from bencode import bencode, bdecode +__all__ = ['createTorrent', 'getInfoHash', 'getTorrentInfoFromFile', 'getTorrentInfo', 'getFiles', 'getTorrentSize'] def createTorrent(file, url, params = {}, flag = Event(), progress = lambda x: None, progress_percent = 1):