config: Accept empty branch in SCM dict
If user sets `branch` to `None`, it should behave as if the branch is not set at all. Nagging them about removing it is not helping anything. Fixes: #415 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
ac635a0937
commit
446f21d4d7
@ -286,7 +286,7 @@ def _make_schema():
|
||||
"enum": ["file", "cvs", "git", "rpm"],
|
||||
},
|
||||
"repo": {"type": "string"},
|
||||
"branch": {"type": "string"},
|
||||
"branch": {"$ref": "#/definitions/optional_string"},
|
||||
"file": {"type": "string"},
|
||||
"dir": {"type": "string"},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user