← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~trb143/openlp/bug-880467 into lp:openlp

 

Tim Bentley has proposed merging lp:~trb143/openlp/bug-880467 into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)
Related bugs:
  Bug #880467 in OpenLP: "Exception form assignment error"
  https://bugs.launchpad.net/openlp/+bug/880467

For more details, see:
https://code.launchpad.net/~trb143/openlp/bug-880467/+merge/80150

Make sure the variables are defined!
-- 
https://code.launchpad.net/~trb143/openlp/bug-880467/+merge/80150
Your team OpenLP Core is requested to review the proposed merge of lp:~trb143/openlp/bug-880467 into lp:openlp.
=== modified file 'openlp/core/ui/exceptionform.py'
--- openlp/core/ui/exceptionform.py	2011-10-22 12:30:21 +0000
+++ openlp/core/ui/exceptionform.py	2011-10-23 17:30:31 +0000
@@ -178,6 +178,8 @@
             'Please add the information that bug reports are favoured written '
             'in English.'))
         content = self._createReport()
+        source = u''
+        exception = u''
         for line in content[2].split(u'\n'):
             if re.search(r'[/\\]openlp[/\\]', line):
                 source = re.sub(r'.*[/\\]openlp[/\\](.*)".*', r'\1', line)


Follow ups