Skip to content

Commit b674fb3

Browse files
committed
fixed wrong indentation
1 parent 3c04e58 commit b674fb3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/opengeo/gui/dialogs/catalogdialog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ def okPressed(self):
196196
self.cafile = unicode(self.cafileBox.text())
197197
if self.cafile:
198198
if not os.path.exists(self.cafile):
199-
self.cafileBox.setStyleSheet("QLineEdit{background: yellow}")
200-
return
199+
self.cafileBox.setStyleSheet("QLineEdit{background: yellow}")
200+
return
201201
else:
202202
self.cafile = None
203203

src/opengeo/qgis/uri.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ def layerUri(layer):
2222
}
2323
service = 'wcs'
2424
if isinstance(catalog, PKICatalog):
25-
params['certid'] = catalog.cert
26-
params['keyid'] = catalog.key
27-
if catalog.ca_cert is not None:
28-
params['issuerid'] = catalog.ca_cert
25+
params['certid'] = catalog.cert
26+
params['keyid'] = catalog.key
27+
if catalog.ca_cert is not None:
28+
params['issuerid'] = catalog.ca_cert
2929
uri = layer.catalog.gs_base_url + service +'?' + urllib.unquote(urllib.urlencode(params))
3030
return str(uri.encodedUri())
3131

0 commit comments

Comments
 (0)