git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56901 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -113,6 +113,9 @@ def make_gradient(path):
if line.startswith("#"):
# skip comments
continue
+ if len(line) == 0:
+ # skip empty lines
+ continue
records.append(line.split())
records = [record for record in records if record[0] != 'nv' and record[0] != 'default']
relative = False