Skip to content

Commit 7c4cfdd

Browse files
flake8 on services/views.py
1 parent 7a5b412 commit 7c4cfdd

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

.tx/config

+20-20
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@ source_file = geonode/locale/en/LC_MESSAGES/djangojs.po
1313
source_lang = en
1414
type = PO
1515

16-
[geonode.docs-index]
17-
file_filter = docs/i18n/<lang>/LC_MESSAGES/index.po
18-
source_file = docs/i18n/en/LC_MESSAGES/index.po
19-
source_lang = en
20-
type = PO
16+
#[geonode.docs-index]
17+
#file_filter = docs/i18n/<lang>/LC_MESSAGES/index.po
18+
#source_file = docs/i18n/en/LC_MESSAGES/index.po
19+
#source_lang = en
20+
#type = PO
2121

22-
[geonode.docs-organizational]
23-
file_filter = docs/i18n/<lang>/LC_MESSAGES/organizational.po
24-
source_file = docs/i18n/en/LC_MESSAGES/organizational.po
25-
source_lang = en
26-
type = PO
22+
#[geonode.docs-organizational]
23+
#file_filter = docs/i18n/<lang>/LC_MESSAGES/organizational.po
24+
#source_file = docs/i18n/en/LC_MESSAGES/organizational.po
25+
#source_lang = en
26+
#type = PO
2727

28-
[geonode.docs-reference]
29-
file_filter = docs/i18n/<lang>/LC_MESSAGES/reference.po
30-
source_file = docs/i18n/en/LC_MESSAGES/reference.po
31-
source_lang = en
32-
type = PO
28+
#[geonode.docs-reference]
29+
#file_filter = docs/i18n/<lang>/LC_MESSAGES/reference.po
30+
#source_file = docs/i18n/en/LC_MESSAGES/reference.po
31+
#source_lang = en
32+
#type = PO
3333

34-
[geonode.docs-tutorials]
35-
file_filter = docs/i18n/<lang>/LC_MESSAGES/tutorials.po
36-
source_file = docs/i18n/en/LC_MESSAGES/tutorials.po
37-
source_lang = en
38-
type = PO
34+
#[geonode.docs-tutorials]
35+
#file_filter = docs/i18n/<lang>/LC_MESSAGES/tutorials.po
36+
#source_file = docs/i18n/en/LC_MESSAGES/tutorials.po
37+
#source_lang = en
38+
#type = PO

geonode/services/views.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,8 @@ def _process_arcgis_folder(folder, services=[], owner=None, parent=None):
944944
service, owner, parent=parent)
945945
else:
946946
return_dict['msg'] = _("Could not find any layers in a compatible projection: \
947-
The spatial id was: %(srs)s and the url %(url)s" % { 'srs': service.spatialReference.wkid, 'url': service.url})
947+
The spatial id was: %(srs)s and the url %(url)s" % {'srs': service.spatialReference.wkid,
948+
'url': service.url})
948949

949950
services.append(return_dict)
950951

0 commit comments

Comments
 (0)