Skip to content

Commit f18d34d

Browse files
committed
Small fix to initializing spatial database label.
1 parent 1244543 commit f18d34d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

spatialdata/spatialdb/SpatialDBObj.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,8 @@ def _configure(self):
8181
"""
8282
Set attributes based on inventory.
8383
"""
84-
try:
85-
Component._configure(self)
86-
self.label(self.inventory.label)
87-
except ValueError, err:
88-
aliases = ", ".join(self.aliases)
89-
raise ValueError("Error while configuring spatial database "
90-
"(%s):\n%s" % (aliases, err.message))
84+
Component._configure(self)
85+
ModuleSpatialDB.label(self, self.inventory.label)
9186
return
9287

9388

0 commit comments

Comments
 (0)