changeset 21:c879b93c3f15

stub out fetching tempita from the internet; bitbucket is down, so no further work here atm
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 21 Nov 2010 12:56:37 -0800
parents 6d1c703c5ffc
children fc2867bc2ba6
files makeitso/makeitso.py
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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