Skip to content

Commit

Permalink
Minor doc fix in Registry.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed Aug 2, 2018
1 parent 35ebdd5 commit 7dd23be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/lsst/daf/butler/registries/sqlRegistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def registerDatasetType(self, datasetType):
-------
inserted : `bool`
``True`` if ``datasetType`` was inserted, ``False`` if an identical
exisiting `DatsetType` was found.
existing `DatsetType` was found.
"""
if not self._isValidDatasetType(datasetType):
raise ValueError("DatasetType is not valid for this registry")
Expand Down Expand Up @@ -177,7 +177,6 @@ def registerDatasetType(self, datasetType):
for dataUnitName in datasetType.dataUnits])
self._datasetTypes[datasetType.name] = datasetType
# Also register component DatasetTypes (if any)
# TODO Make this atomic by handling components as part of the with clause above
for compName, compStorageClass in datasetType.storageClass.components.items():
compType = DatasetType(datasetType.componentTypeName(compName),
datasetType.dataUnits,
Expand Down

0 comments on commit 7dd23be

Please sign in to comment.