SVN: r25343 - trunk/quixote
Neil Schemenauer <nascheme-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Thu, 14 Oct 2004 13:33:49 -0400
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: nascheme
Date: 2004-10-14 13:25:41 -0400 (Thu, 14 Oct 2004)
New Revision: 25343
Modified:
trunk/quixote/util.py
Log:
Remove backwards compatibility code for StaticDirectory.
Modified: trunk/quixote/util.py
===================================================================
--- trunk/quixote/util.py 2004-10-14 17:23:16 UTC (rev 25342)
+++ trunk/quixote/util.py 2004-10-14 17:25:41 UTC (rev 25343)
@@ -290,15 +290,11 @@
item_filepath = os.path.join(self.path, dest)
if os.path.isdir(item_filepath):
- # avoid passing post 1.0 keyword arguments to subclasses that
- # may not support them
- kwargs = {}
- if self.index_filenames is not None:
- kwargs['index_filenames'] = self.index_filenames
item = self.__class__(item_filepath, self.use_cache,
self.list_directory,
self.follow_symlinks, self.cache_time,
- self.file_class, **kwargs)
+ self.file_class, self.index_filenames)
+
elif os.path.isfile(item_filepath):
item = self.file_class(item_filepath, self.follow_symlinks,
cache_time=self.cache_time)