diff MoinMoin/util/send_file.py @ 26:4cd8edde9e94

automatically transform module docstrings, moving legal stuff to comments a script was used to extract all copyright and license strings from the docstring and put them into comment lines above the docstring. this was done to not have the legal stuff in autogenerated docs repeated over and over again.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 27 Feb 2011 18:11:54 +0100
parents 3e888522973b
children 1e9ec607913d
line wrap: on
line diff
--- a/MoinMoin/util/send_file.py	Sun Feb 27 16:58:22 2011 +0100
+++ b/MoinMoin/util/send_file.py	Sun Feb 27 18:11:54 2011 +0100
@@ -1,3 +1,7 @@
+# Copyright: 2010 by Armin Ronacher (initial implementation)
+# Copyright: 2011 by MoinMoin:ThomasWaldmann (modifications)
+# License: BSD (see license of flask)
+
 """
 A better send_file
 ------------------
@@ -12,11 +16,8 @@
 As we forked send_file, we later modified it (without trying to stay
 compatible), because we can easily adapt anyway and the code can be much
 simpler without compatibility code.
+"""
 
-@copyright: 2010 by Armin Ronacher (initial implementation),
-            2011 by MoinMoin:ThomasWaldmann (modifications)
-@license: BSD (see license of flask)
-"""
 
 import os
 import mimetypes