[Checkins] SVN: z3c.extfile/trunk/ see CHANGES.txt

Bernd Dorn bernd.dorn at lovelysystems.com
Wed Jan 9 03:42:55 EST 2008


Log message for revision 82767:
  see CHANGES.txt

Changed:
  U   z3c.extfile/trunk/CHANGES.txt
  U   z3c.extfile/trunk/setup.py
  U   z3c.extfile/trunk/src/z3c/extfile/filter.py

-=-
Modified: z3c.extfile/trunk/CHANGES.txt
===================================================================
--- z3c.extfile/trunk/CHANGES.txt	2008-01-08 21:07:35 UTC (rev 82766)
+++ z3c.extfile/trunk/CHANGES.txt	2008-01-09 08:42:54 UTC (rev 82767)
@@ -5,6 +5,8 @@
 After
 =====
 
+- allow relative paths in directory argument for wsgi filter
+
 - updated config example in README.txt for paste deployment
 
 - make filter and processor handle locking sockets correctly which are

Modified: z3c.extfile/trunk/setup.py
===================================================================
--- z3c.extfile/trunk/setup.py	2008-01-08 21:07:35 UTC (rev 82766)
+++ z3c.extfile/trunk/setup.py	2008-01-09 08:42:54 UTC (rev 82767)
@@ -2,7 +2,7 @@
 
 setup(
     name = "z3c.extfile",
-    version = "0.1.2",
+    version = "0.2.0a1",
     author = "Zope Contributors",
     author_email = "zope3-dev at zope.org",
     description = "Large file handling for zope3",

Modified: z3c.extfile/trunk/src/z3c/extfile/filter.py
===================================================================
--- z3c.extfile/trunk/src/z3c/extfile/filter.py	2008-01-08 21:07:35 UTC (rev 82766)
+++ z3c.extfile/trunk/src/z3c/extfile/filter.py	2008-01-09 08:42:54 UTC (rev 82767)
@@ -109,6 +109,9 @@
 
 
 def filter_factory(global_conf, **local_conf):
+    if local_conf.has_key('directory'):
+        local_conf['directory'] = os.path.join(
+            global_conf.get('here'), local_conf.get('directory'))
     def filter(app):
         return FSFilter(app, **local_conf)
     return filter



More information about the Checkins mailing list