Mercurial > hg > MakeItSo
comparison makeitso/makeitso.py @ 24:1b802678b341
add note about urllib and timeouts
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 30 Nov 2010 09:21:22 -0800 |
parents | 776805790c84 |
children | fbf19940fa97 |
comparison
equal
deleted
inserted
replaced
23:776805790c84 | 24:1b802678b341 |
---|---|
7 import re | 7 import re |
8 import subprocess | 8 import subprocess |
9 import sys | 9 import sys |
10 import tempfile | 10 import tempfile |
11 import urllib | 11 import urllib |
12 # TODO: may have to use urllib2.urlopen to get reasonable timeouts | |
12 | 13 |
13 from optparse import OptionParser | 14 from optparse import OptionParser |
14 | 15 |
15 # URL of this file | 16 # URL of this file |
16 location = 'http://k0s.org/mozilla/hg/MakeItSo/raw-file/tip/makeitso/makeitso.py' | 17 location = 'http://k0s.org/mozilla/hg/MakeItSo/raw-file/tip/makeitso/makeitso.py' |