Edit Diskussion History Attachments

attachment:wsgiapp.patch of Admin/Patches

Attachment 'wsgiapp.patch'

Download

   1 --- a/MoinMoin/wsgiapp.py	Thu Dec 24 15:00:35 2009 +0100
   2 +++ b/MoinMoin/wsgiapp.py	Sun Feb 14 21:29:59 2010 +0100
   3 @@ -244,9 +244,10 @@
   4                      break
   5              else:
   6                  logging.debug("moin does not support any language client accepts")
   7 -                if cfg.language_default in i18n.languages:
   8 -                    lang = cfg.language_default
   9 -                    logging.debug("fall back to cfg.language_default (%r)" % lang)
  10 +        if not lang:
  11 +            if cfg.language_default in i18n.languages:
  12 +                lang = cfg.language_default
  13 +                logging.debug("fall back to cfg.language_default (%r)" % lang)
  14      if not lang:
  15          lang = 'en'
  16          logging.debug("emergency fallback to 'en'")

New Attachment

File to upload
Rename to
Overwrite existing attachment of same name
Type: Foobar

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2010-02-16 00:14:49, 0.7 KB) [[attachment:disable-spell-check.patch]]
  • [get | view] (2010-07-16 01:10:04, 1.4 KB) [[attachment:isbn.patch]]
  • [get | view] (2010-02-16 00:19:52, 0.6 KB) [[attachment:sitemap.patch]]
  • [get | view] (2010-02-16 00:20:42, 8.1 KB) [[attachment:stats.patch]]
  • [get | view] (2010-02-16 00:20:50, 0.7 KB) [[attachment:wsgiapp.patch]]
  • [get | view] (2010-02-16 00:20:57, 1.6 KB) [[attachment:xapian.patch]]
 All files | Selected Files: delete move to page copy to page