Commit eb4f16d9 authored by Georgios Bitzes's avatar Georgios Bitzes
Browse files

Include patch version in version string, even when zero

parent 2d2e1e04
Pipeline #1294190 passed with stages
in 52 minutes and 4 seconds
......@@ -5,6 +5,8 @@
### Bug fixes
- Locality hints ending with a pipe symbol (|) could subsequently trigger an
assertion and crash when encountered during ``LHSCAN``, due to faulty key parsing code.
The pipe symbol (|) has special meaning inside internal QuarkDB keys, and is used
to escape field separators (#).
### New features
- Addition of ``quarkdb-server`` binary to allow running QDB without XRootD.
......
......@@ -45,10 +45,7 @@ class SoftwareVersion:
if self.patch == None: assert self.miniPatch == None
def toString(self):
ret = "{0}.{1}".format(self.major, self.minor)
if self.patch or self.miniPatch:
ret += ".{0}".format(self.patch)
ret = "{0}.{1}.{2}".format(self.major, self.minor, self.patch)
if self.miniPatch:
ret += ".{0}".format(self.miniPatch)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment