Code Review
/
integration
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Merge "Fixed the CSIT Failures"
[integration/csit.git]
/
tests
/
optf-cmso
/
cmso
/
attlibs
/
CurlLibrary.py
1
from curl import Curl
2
3
class CurlLibrary:
4
5
6
def get_zip(self, url, filename):
7
fp = open(filename, "wb")
8
c = Curl()
9
c.get(url, )
10
c.set_option(c.WRITEDATA, fp)
11
c.perform()
12
c.close()
13
fp.close()