diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-07-02 09:15:26 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-07-02 09:28:13 +0200 |
commit | c70af1a364466641ef163b64be521042371c2610 (patch) | |
tree | fbc36078eeeb6319fd39333534263060eaea6e8f | |
parent | bbd23fcce4ed73ffcbdbfcef598f085cf1daff2c (diff) | |
download | NetworkManager-c70af1a364466641ef163b64be521042371c2610.tar.gz |
contrib/rh-bkr: ignore '$' characters that are not followed by a variable name
Skip them without substitution.
-rwxr-xr-x | contrib/rh-bkr/bkr.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/rh-bkr/bkr.py b/contrib/rh-bkr/bkr.py index 49d16076ac..5f3c474cae 100755 --- a/contrib/rh-bkr/bkr.py +++ b/contrib/rh-bkr/bkr.py @@ -722,7 +722,9 @@ class CmdSubmit(CmdBase): l = m.group('rest') m = CmdSubmit.re_subs1.match(l) if m is None: - return r + l + l = l[1:] + r = r + '$' + continue name = m.group('name') if name == '$': r = r + '$' |