Message ID | 20211021091007.460641-5-amorenoz@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | Facilitate external use of ovn-detrace | expand |
Context | Check | Description |
---|---|---|
ovsrobot/apply-robot | success | apply and check: success |
ovsrobot/github-robot-_Build_and_Test | success | github build: passed |
ovsrobot/github-robot-_ovn-kubernetes | fail | github build: failed |
On 10/21/21 11:10 AM, Adrian Moreno wrote: > That way importers can check it to determine whether a particular > feature exists or not. > > Signed-off-by: Adrian Moreno <amorenoz@redhat.com> > --- Looks good to me, thanks! Acked-by: Dumitru Ceara <dceara@redhat.com>
diff --git a/utilities/ovn_detrace.py.in b/utilities/ovn_detrace.py.in index d26efbd16..570119d5a 100755 --- a/utilities/ovn_detrace.py.in +++ b/utilities/ovn_detrace.py.in @@ -36,7 +36,7 @@ except Exception: argv0 = sys.argv[0] - +version = "@VERSION@" def usage(): print("""\ @@ -415,7 +415,7 @@ def main(): if key in ['-h', '--help']: usage() elif key in ['-V', '--version']: - print("%s (OVN) @VERSION@" % argv0) + print("%s (OVN) %s" % (argv0, version)) elif key in ['--ovnsb']: ovnsb_db = value elif key in ['--ovnnb']:
That way importers can check it to determine whether a particular feature exists or not. Signed-off-by: Adrian Moreno <amorenoz@redhat.com> --- utilities/ovn_detrace.py.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)