Skip to content

Commit

Permalink
Corrected typo in dataObject.py:get_most_specific_type()
Browse files Browse the repository at this point in the history
  • Loading branch information
mwatts15 committed Mar 31, 2015
1 parent 43bcde4 commit 42fd8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyOpenWorm/dataObject.py
Expand Up @@ -438,7 +438,7 @@ def get_most_specific_rdf_type(types):
for x in types:
cn = DataObject._extract_class_name(x) # TODO: Make a table to lookup by the class URI
try:
class_object = _DataObjects.get[cn]
class_object = _DataObjects[cn]
if issubclass(class_object, most_specific_type):
most_specific_type = class_object
except KeyError as e:
Expand Down

0 comments on commit 42fd8c6

Please sign in to comment.