# HG changeset patch # User Jeff Hammel # Date 1290372997 28800 # Node ID c879b93c3f1541e823ae30e6d9f5946e5a22ea81 # Parent 6d1c703c5ffcb2d14407695865354a4c6506db90 stub out fetching tempita from the internet; bitbucket is down, so no further work here atm diff -r 6d1c703c5ffc -r c879b93c3f15 makeitso/makeitso.py --- a/makeitso/makeitso.py Wed Nov 17 10:57:59 2010 -0800 +++ b/makeitso/makeitso.py Sun Nov 21 12:56:37 2010 -0800 @@ -7,13 +7,30 @@ import re import subprocess import sys +import tempfile import urllib from optparse import OptionParser +# URL of this file +location = 'http://k0s.org/mozilla/hg/MakeItSo/raw-file/tip/makeitso/makeitso.py' + +# URL of tempita +tempita_location = 'http://bitbucket.org/ianb/tempita/raw-file/tip/tempita/' + try: import tempita except ImportError: + + # Get tempita from the net + def getFiles(url, files): + """ + fetch files from the internet + - url : base url + - files : list of files to retrieve + returns the location of a temporary directory + """ + raise NotImplementedError # URL of this file