Permalink
Browse files

Remove unused function here

  • Loading branch information...
1 parent 877992a commit 122c410d53540a85c57e1a7444496d508c035919 Joshua Harlow committed Sep 12, 2012
Showing with 0 additions and 9 deletions.
  1. +0 −9 builder/util.py
View
@@ -153,15 +153,6 @@ def rand_str(strlen=32, select_from=None):
return "".join([random.choice(select_from) for _x in range(0, strlen)])
-def decomp_str(data):
- try:
- buf = StringIO(str(data))
- with contextlib.closing(gzip.GzipFile(None, "rb", 1, buf)) as gh:
- return gh.read()
- except:
- return data
-
-
def download_url(url, where_to, timeout=5):
with contextlib.closing(urllib2.urlopen(url, timeout=timeout)) as rh:
status = rh.getcode()

0 comments on commit 122c410

Please sign in to comment.