Skip to content

Commit a171b23

Browse files
committedApr 9, 2018
[processing] Fix exception in processing.run when feedback
object is not specified (cherry-picked from ccccad5)
1 parent f7b27d6 commit a171b23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎python/plugins/processing/algs/qgis/ui/FieldsCalculatorDialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, dialog):
6767
QgsProcessingFeedback.__init__(self)
6868
self.dialog = dialog
6969

70-
def reportError(self, msg, fatal_error):
70+
def reportError(self, msg, fatalError=False):
7171
self.dialog.error(msg)
7272

7373

‎python/plugins/processing/gui/MessageBarProgress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, algname=None):
4848
iface.messageBar().pushWidget(self.progressMessageBar,
4949
Qgis.Info)
5050

51-
def reportError(self, msg, fatal_error):
51+
def reportError(self, msg, fatalError=False):
5252
self.msg.append(msg)
5353

5454
def close(self):

0 commit comments

Comments
 (0)
Please sign in to comment.