Changeset 316 for py-tcpmultiplexer


Ignore:
Timestamp:
Jul 19, 2011, 2:30:30 PM (13 years ago)
Author:
Rick van der Zwet
Message:

Do not show versioning info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • py-tcpmultiplexer/TCPMultiplexer.py

    r314 r316  
    7171              for name in files:
    7272                self.request.send('<li><a href="%(item)s">%(item)s</li>' % { 'item' : os.path.join(root.replace(document_root,'',1),name) })
     73              # Please do not show any hidden file
     74              [dirs.remove(name) for name in dirs if name.startswith('.')]
    7375            self.request.send("</ul></body></html>")
    7476          elif urldata.has_key(urlid):
Note: See TracChangeset for help on using the changeset viewer.