6561: v3.4.3 NarWeb creation fails for German, Swedish

svn: r21765
This commit is contained in:
Paul Franklin 2013-03-27 17:00:40 +00:00
parent a581dda843
commit 4ca275e5b2

View File

@ -513,6 +513,7 @@ class CommandLineReport(object):
self.option_class.handler.output = self.options_dict['of'] self.option_class.handler.output = self.options_dict['of']
self.paper = paper_sizes[0] # make sure one exists
for paper in paper_sizes: for paper in paper_sizes:
if paper.get_name() == self.options_dict['papers']: if paper.get_name() == self.options_dict['papers']:
self.paper = paper self.paper = paper