[shared] Added appy.shared.data.vatEuroCountries, which is the list of countries of the euro zone.

This commit is contained in:
Gaetan Delannay 2012-12-20 16:09:05 +01:00
parent 6d0d2ea591
commit bba7c589be
3 changed files with 10 additions and 3 deletions

View file

@ -432,13 +432,12 @@ class Renderer:
ooOutput = ''
try:
if (not isinstance(self.ooPort, int)) and \
(not isinstance(self.ooPort, long)):
(not isinstance(self.ooPort, long)):
raise PodError(BAD_OO_PORT % str(self.ooPort))
try:
from appy.pod.converter import Converter, ConverterError
try:
Converter(resultOdtName, resultType,
self.ooPort).run()
Converter(resultOdtName, resultType, self.ooPort).run()
except ConverterError, ce:
raise PodError(CONVERT_ERROR % str(ce))
except ImportError: