0c3ec7a16d
- fix resume support Entropy/ut: - trivial changes git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@3048 cd1c1023-2f26-0410-ae45-c471fc1f0318
11 lines
252 B
Python
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()
|
|
|