Fix bad usage of a dict

This commit is contained in:
Dan Williams 2006-05-22 14:26:14 -04:00
parent 2b2dbc8099
commit 55bf8c79cb

View File

@ -13,7 +13,7 @@ class Store:
def get_model(self, model_id):
if self._local_models.has_key(model_id):
return self._local_models(model_id)
return self._local_models[model_id]
else:
service = self._group.get_service(model_id, LocalModel.SERVICE_TYPE)
if service: