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

svn: r21766
This commit is contained in:
Paul Franklin 2013-03-27 17:01:17 +00:00
parent aac3f0d2e3
commit e86bd066c1

View File

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