annotate demo.py @ 4838:6102252d3a8a

Do not throw an internal error if a .mo file can not be read It is better to fall back to English (as already done in other situations) than causing an internal server error.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 02 Oct 2013 15:36:34 +0200
parents c6694cff29bc
children 110ac45875ab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4765
c6694cff29bc demo.py: Get rid of Windows linefeeds
anatoly techtonik <techtonik@gmail.com>
parents: 4763
diff changeset
1 import sys
c6694cff29bc demo.py: Get rid of Windows linefeeds
anatoly techtonik <techtonik@gmail.com>
parents: 4763
diff changeset
2 import roundup
c6694cff29bc demo.py: Get rid of Windows linefeeds
anatoly techtonik <techtonik@gmail.com>
parents: 4763
diff changeset
3
c6694cff29bc demo.py: Get rid of Windows linefeeds
anatoly techtonik <techtonik@gmail.com>
parents: 4763
diff changeset
4 from roundup.demo import main
c6694cff29bc demo.py: Get rid of Windows linefeeds
anatoly techtonik <techtonik@gmail.com>
parents: 4763
diff changeset
5
c6694cff29bc demo.py: Get rid of Windows linefeeds
anatoly techtonik <techtonik@gmail.com>
parents: 4763
diff changeset
6 sys.exit(main())

Roundup Issue Tracker: http://roundup-tracker.org/