Files
entropy/libraries/ut/urlFetcher.py
T
lxnay 0c3ec7a16d Entropy/urlFetcher:
- fix resume support
Entropy/ut:
- trivial changes


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3048 cd1c1023-2f26-0410-ae45-c471fc1f0318
2009-02-20 19:48:12 +00:00

11 lines
252 B
Python

import sys
sys.path.insert(0,'../')
from entropy import urlFetcher
# test 1
url = "http://svn.sabayonlinux.org/entropy/standard/sabayonlinux.org/database/amd64/4/packages.db.bz2"
to = "/tmp/packages.db.bz2"
u = urlFetcher(url, to)
print u.download()