changeset 12:54e27f046cd2

more stubbing
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 02 Aug 2011 16:06:29 -0700
parents df6c2e71b87e
children 1efb669ab1c8
files document_it.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/document_it.py	Mon Aug 01 23:25:46 2011 -0700
+++ b/document_it.py	Tue Aug 02 16:06:29 2011 -0700
@@ -66,6 +66,7 @@
         except ValueError:
             raise ValueError("illegal manifest line: '%s'" % line)
 
+        url = url.lstrip('/') # no leading /s
         filename = os.path.join(directory, f)
         if os.path.isdir(filename):
             pass # TODO
@@ -152,6 +153,8 @@
             f.close()
     else:
         # TODO check credentials
+        for src, dest in files:
+            pass
         raise NotImplementedError