Skip to content

Commit

Permalink
no print in redis counter handler
Browse files Browse the repository at this point in the history
  • Loading branch information
arcangelo7 committed Sep 28, 2024
1 parent fc57635 commit 0208be2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion oc_ocdm/counter_handler/redis_counter_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def set_counter(self, new_value: int, entity_short_name: str, prov_short_name: s
raise ValueError("new_value must be a non negative integer!")

key = self._get_key(entity_short_name, prov_short_name, identifier, supplier_prefix)
print(key)
self.redis.set(key, new_value)

def read_counter(self, entity_short_name: str, prov_short_name: str = "", identifier: int = 1, supplier_prefix: str = "") -> int:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "oc_ocdm"
version = "9.0.0"
version = "9.0.1"
description = "Object mapping library for manipulating RDF graphs that are compliant with the OpenCitations datamodel."
authors = [
"Silvio Peroni <[email protected]>",
Expand Down

0 comments on commit 0208be2

Please sign in to comment.