git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72392 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -537,7 +537,7 @@ def ReadEpsgCodes(path):
code = None
for line in f.readlines():
line = line.strip()
- if len(line) < 1:
+ if len(line) < 1 or line.startswith('<metadata>'):
continue
if line[0] == '#':