Commits

Ben Bangert  committed 19ca24a

Doc string fixes

  • Participants
  • Parent commits e1428bc

Comments (0)

Files changed (1)

File webhelpers/mimehelper.py

         first, as shown in the example below.
         
         Example::
+        
             # some code likely in environment.py
-            
             MIMETypes.init()
             MIMETypes.alias('html', 'text/html')
             MIMETypes.alias('xml', 'application/xml')
             MIMETypes.alias('csv', 'text/csv')
             
+            # code in a controller
             def somaction(self):
                 # prepare a bunch of data
                 # ......
                     abort(404)
         
         """
-
         import webob
 
         if content_type in MIMETypes.aliases: