gregorrothfuss / feedvalidator

Automatically exported from code.google.com/p/feedvalidator
0 stars 0 forks source link

Crashes if LANGUAGE is set #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

$ LANGUAGE=pl ./validtest.py 

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "./validtest.py", line 13, in <module>
    from feedvalidator.formatter.application_test import Formatter
  File "/tmp/feedvalidator/src/feedvalidator/formatter/application_test.py", line 9, in <module>
    from base import BaseFormatter
  File "/tmp/feedvalidator/src/feedvalidator/formatter/base.py", line 12, in <module>
    lang = __import__('feedvalidator.i18n.%s' % LANGUAGE, globals(), locals(), LANGUAGE)
ImportError: No module named pl

What version of the product are you using? On what operating system?

$ svnversion 
1066

Please provide any additional information below.

The bug was originally reported in the Debian BTS:
http://bugs.debian.org/588983

Original issue reported on code.google.com by jwilk@jwilk.net on 16 Jul 2010 at 2:02