@@ -241,8 +241,8 @@ def gather_layers(parent_elem, parent_metadata):
241241 parse_remote_metadata = parse_remote_metadata )
242242 if cm .id :
243243 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 )
246246 warnings .warn (msg , RuntimeWarning )
247247 self .contents [cm .id ] = cm
248248 gather_layers (elem , cm )
@@ -254,7 +254,7 @@ def gather_layers(parent_elem, parent_metadata):
254254 if tms .identifier :
255255 if tms .identifier in self .tilematrixsets :
256256 msg = ('TileMatrixSet with identifier "%s" '
257- 'already exists' % tms .identifier )
257+ 'already exists' % tms .identifier )
258258 warnings .warn (msg , RuntimeWarning )
259259 self .tilematrixsets [tms .identifier ] = tms
260260
@@ -263,8 +263,8 @@ def gather_layers(parent_elem, parent_metadata):
263263 theme = Theme (elem )
264264 if theme .identifier :
265265 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 )
268268 warnings .warn (msg , RuntimeWarning )
269269 self .themes [theme .identifier ] = theme
270270
@@ -523,7 +523,7 @@ def __init__(self, elem):
523523 if tm .identifier :
524524 if tm .identifier in self .tilematrix :
525525 msg = ('TileMatrix with identifier "%s" '
526- 'already exists' % tm .identifier )
526+ 'already exists' % tm .identifier )
527527 warnings .warn (msg , RuntimeWarning )
528528 self .tilematrix [tm .identifier ] = tm
529529
@@ -753,8 +753,7 @@ def __init__(self, elem, parent=None, index=0, parse_remote_metadata=False):
753753 if tmsl .tilematrixset :
754754 if tmsl .tilematrixset in self .tilematrixsetlinks :
755755 msg = ('TileMatrixSetLink with tilematrixset "%s"'
756- ' already exists' %
757- tmsl .tilematrixset )
756+ ' already exists' % tmsl .tilematrixset )
758757 warnings .warn (msg , RuntimeWarning )
759758 self .tilematrixsetlinks [tmsl .tilematrixset ] = tmsl
760759
0 commit comments