cleanup namespace

This commit is contained in:
j 2009-11-29 19:30:23 +01:00
parent 7c4de11d3b
commit 13542038c9
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import subprocess
import simplejson
__all__ = ['sha1sum', 'oshash', 'avinfo']
def sha1sum(filename):
sha1 = hashlib.sha1()

View File

@ -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):