[Twisted-web] [PATCH] typo in static.py?

Wilfredo Sánchez Vega wsanchez at wsanchez.net
Wed Jun 29 11:46:03 MDT 2005

   I think the patch below fixes a typo in an error case I noticed  
while reading the code.


Index: twisted/web2/static.py
--- twisted/web2/static.py      (revision 14048)
+++ twisted/web2/static.py      (working copy)
@@ -215,7 +217,7 @@
          if not self.fp.exists():
-            return response.NOT_FOUND
+            return responsecode.NOT_FOUND
          if self.fp.isdir():
              # If this is a directory, redirect

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3057 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20050629/efe4ea8e/smime.bin

More information about the Twisted-web mailing list