cleanup namespace
This commit is contained in:
parent
7c4de11d3b
commit
13542038c9
2 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ import subprocess
|
||||||
|
|
||||||
import simplejson
|
import simplejson
|
||||||
|
|
||||||
|
__all__ = ['sha1sum', 'oshash', 'avinfo']
|
||||||
|
|
||||||
def sha1sum(filename):
|
def sha1sum(filename):
|
||||||
sha1 = hashlib.sha1()
|
sha1 = hashlib.sha1()
|
||||||
|
|
|
@ -8,6 +8,7 @@ import os
|
||||||
|
|
||||||
from bencode import bencode, bdecode
|
from bencode import bencode, bdecode
|
||||||
|
|
||||||
|
__all__ = ['createTorrent', 'getInfoHash', 'getTorrentInfoFromFile', 'getTorrentInfo', 'getFiles', 'getTorrentSize']
|
||||||
|
|
||||||
def createTorrent(file, url, params = {}, flag = Event(),
|
def createTorrent(file, url, params = {}, flag = Event(),
|
||||||
progress = lambda x: None, progress_percent = 1):
|
progress = lambda x: None, progress_percent = 1):
|
||||||
|
|
Loading…
Reference in a new issue