Skip to content

Commit

Permalink
Fix mariadb version string representation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sandakov committed Jul 29, 2024
1 parent f87e401 commit ac2c825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pleskdistup/common/src/mariadb.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(self, to_extract: str):

def __str__(self):
"""Return a string representation of a PHPVersion object."""
return f"PHP {self.major}.{self.minor}.{self.patch}"
return f"{self.major}.{self.minor}.{self.patch}"

def __lt__(self, other):
return self.major < other.major or (self.major == other.major and self.minor < other.minor) or (self.major == other.major and self.minor == other.minor and self.patch < other.patch)
Expand Down

0 comments on commit ac2c825

Please sign in to comment.