@@ -241,8 +241,8 @@ def gather_layers(parent_elem, parent_metadata):
241
241
parse_remote_metadata = parse_remote_metadata )
242
242
if cm .id :
243
243
if cm .id in self .contents :
244
- msg = ('Content metadata for layer "%s" '
245
- 'already exists' % cm .id )
244
+ msg = ('Content metadata for layer "%s" '
245
+ 'already exists' % cm .id )
246
246
warnings .warn (msg , RuntimeWarning )
247
247
self .contents [cm .id ] = cm
248
248
gather_layers (elem , cm )
@@ -254,7 +254,7 @@ def gather_layers(parent_elem, parent_metadata):
254
254
if tms .identifier :
255
255
if tms .identifier in self .tilematrixsets :
256
256
msg = ('TileMatrixSet with identifier "%s" '
257
- 'already exists' % tms .identifier )
257
+ 'already exists' % tms .identifier )
258
258
warnings .warn (msg , RuntimeWarning )
259
259
self .tilematrixsets [tms .identifier ] = tms
260
260
@@ -263,8 +263,8 @@ def gather_layers(parent_elem, parent_metadata):
263
263
theme = Theme (elem )
264
264
if theme .identifier :
265
265
if theme .identifier in self .themes :
266
- msg = ('Theme with identifier "%s" already exists'
267
- % theme .identifier )
266
+ msg = ('Theme with identifier "%s" already exists'
267
+ % theme .identifier )
268
268
warnings .warn (msg , RuntimeWarning )
269
269
self .themes [theme .identifier ] = theme
270
270
@@ -523,7 +523,7 @@ def __init__(self, elem):
523
523
if tm .identifier :
524
524
if tm .identifier in self .tilematrix :
525
525
msg = ('TileMatrix with identifier "%s" '
526
- 'already exists' % tm .identifier )
526
+ 'already exists' % tm .identifier )
527
527
warnings .warn (msg , RuntimeWarning )
528
528
self .tilematrix [tm .identifier ] = tm
529
529
@@ -753,8 +753,7 @@ def __init__(self, elem, parent=None, index=0, parse_remote_metadata=False):
753
753
if tmsl .tilematrixset :
754
754
if tmsl .tilematrixset in self .tilematrixsetlinks :
755
755
msg = ('TileMatrixSetLink with tilematrixset "%s"'
756
- ' already exists' %
757
- tmsl .tilematrixset )
756
+ ' already exists' % tmsl .tilematrixset )
758
757
warnings .warn (msg , RuntimeWarning )
759
758
self .tilematrixsetlinks [tmsl .tilematrixset ] = tmsl
760
759
0 commit comments