Skip to content

Commit

Permalink
Merge pull request #429 from lsst/tickets/DM-35917
Browse files Browse the repository at this point in the history
DM-35917: Note that --config no longer splits on comma
  • Loading branch information
timj committed Aug 26, 2022
2 parents 9e4e920 + 40f2735 commit d46986b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doc/changes/DM-35917.api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The ``ingest-raws`` and ``define-visits`` subcommands no longer allow multiple config settings within a single ``--config`` option.
We have decided that it is too dangerous to split on comma in the general case and so have removed that facility to be consistent with other commands.
Use multiple ``--config`` options instead.
4 changes: 3 additions & 1 deletion tests/test_cliCmdTestIngest.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def test_configMulti(self):
"-c",
"foo=1",
"--config",
"bar=2,baz=3",
"bar=2",
"--config",
"baz=3",
],
self.makeExpected(
repo="repo",
Expand Down

0 comments on commit d46986b

Please sign in to comment.