Skip to content
Permalink
Browse files

Fix error when running postgis algs

  • Loading branch information
nyalldawson committed Nov 16, 2017
1 parent 135b5c6 commit d0c2a41c6c985eb7849a3b7e03e13aecb9414ed3
Showing with 3 additions and 4 deletions.
  1. +3 −4 python/plugins/processing/gui/wrappers_postgis.py
@@ -30,13 +30,12 @@

from processing.gui.wrappers import (
WidgetWrapper,
ExpressionWidgetWrapperMixin,
DIALOG_MODELER,
)
from processing.tools.postgis import GeoDB


class ConnectionWidgetWrapper(WidgetWrapper, ExpressionWidgetWrapperMixin):
class ConnectionWidgetWrapper(WidgetWrapper):
"""
WidgetWrapper for ParameterString that create and manage a combobox widget
with existing postgis connections.
@@ -69,7 +68,7 @@ def value(self):
return self.comboValue(combobox=self._combo)


class SchemaWidgetWrapper(WidgetWrapper, ExpressionWidgetWrapperMixin):
class SchemaWidgetWrapper(WidgetWrapper):
"""
WidgetWrapper for ParameterString that create and manage a combobox widget
with existing schemas from a parent connection parameter.
@@ -141,7 +140,7 @@ def database(self):
return self._database


class TableWidgetWrapper(WidgetWrapper, ExpressionWidgetWrapperMixin):
class TableWidgetWrapper(WidgetWrapper):
"""
WidgetWrapper for ParameterString that create and manage a combobox widget
with existing tables from a parent schema parameter.

0 comments on commit d0c2a41

Please sign in to comment.
You can’t perform that action at this time.