From 790c9ae4f6440a6830156d2d42118593cc5a94a6 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sun, 21 Jul 2013 15:10:21 +0100 Subject: [PATCH] Add doc string --- openlp/core/ui/exceptionform.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openlp/core/ui/exceptionform.py b/openlp/core/ui/exceptionform.py index bbd76446b..62f8fae71 100644 --- a/openlp/core/ui/exceptionform.py +++ b/openlp/core/ui/exceptionform.py @@ -247,6 +247,12 @@ class ExceptionForm(QtGui.QDialog, Ui_ExceptionDialog): self.send_report_button.setEnabled(state) def _pyuno_import(self): + """ + Added here to define only when the form is actioned. The uno interface spits out lots of exception messages + if the import is at a file level. If uno import is changed this could be reverted. + This happens in other classes but there it is localised here it is across the whole system and hides real + errors. + """ try: import uno arg = uno.createUnoStruct(u'com.sun.star.beans.PropertyValue')