Permalink
Browse files

Tidying up

  • Loading branch information...
1 parent 39d4444 commit 99d827f1feb13a0c0fbde314b77046738a0757c5 @inky committed Mar 14, 2010
Showing with 2 additions and 4 deletions.
  1. +2 −4 scripts/theme_installs.py
@@ -28,17 +28,14 @@
OTHER DEALINGS IN THE SOFTWARE.
"""
-import gzip
import optparse
-import re
import sys
-import urllib, urllib2
-from StringIO import StringIO
from BeautifulSoup import BeautifulSoup
from openanything import fetch
+
class HumanNumber:
def __init__(self, string):
self._string = str(string)
@@ -71,6 +68,7 @@ def theme_installs(id, full_response=False):
response['data'] = None
return full_response and response or response['data']
+
def main():
parser = optparse.OptionParser(usage='%prog [options] theme_id')
parser.add_option('-i', '--int', action='store_true', default=False,

0 comments on commit 99d827f

Please sign in to comment.