diff decoupage/web.py @ 35:20e3d138dc98

better way of doing up; this breaks old behaviour so incrementing version
author k0s <k0scist@gmail.com>
date Mon, 08 Feb 2010 19:21:30 -0500
parents 527ccb76d043
children 89f7a8ca965c
line wrap: on
line diff
--- a/decoupage/web.py	Mon Feb 08 11:44:20 2010 -0500
+++ b/decoupage/web.py	Mon Feb 08 19:21:30 2010 -0500
@@ -169,10 +169,19 @@
 
     def filedata(self, path, directory, conf):
         files = []
+
+        # TODO: other items to add
+        # type: 'file' or 'directory'
+        # last_modified
+        # created
+
         for i in os.listdir(directory):
             files.append({'path' : '%s/%s' % (path.rstrip('/'), i),
                           'name': i,
                           'description': conf.get(i.lower(), None)})
+        
+        # TODO: deal with other links in conf
+
         return files
 
     def conf(self, path, cascade=None):