Skip to content
Snippets Groups Projects
Commit eb4f16d9 authored by Georgios Bitzes's avatar Georgios Bitzes
Browse files

Include patch version in version string, even when zero

parent 2d2e1e04
No related branches found
No related tags found
No related merge requests found
Pipeline #1294190 passed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment