-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify LIBVALKEY_AVAILABLE and drop LIBVALKEY_PACK_AVAILABLE
The former checked if the module version is >= 1.0, which is always true for libvalkey Python module as the very first version will be 2.3.2. Hence it can be simplified to the condition of `libvalkey` Python module being available. The latter is also obsolete, as the very first release of libvalkey-py already contains `pack_command`. Hence, this boolean can be replaced with `LIBVALKEY_AVAILABLE` where applicable. Signed-off-by: Mikhail Koviazin <[email protected]>
- Loading branch information
Showing
3 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters