Skip to content

Commit

Permalink
CameraMapper: add support for PostgreSQL registry
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulPrice committed May 10, 2017
1 parent 57efb1f commit e43b0dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/lsst/obs/base/cameraMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,8 @@ def search(filename, description):
return None

# Search for a suitable registry database
if path is None:
path = search("%s.pgsql" % name, "%s in root" % description)
if path is None:
path = search("%s.sqlite3" % name, "%s in root" % description)
if path is None:
Expand Down

0 comments on commit e43b0dc

Please sign in to comment.