Skip to content

Commit f20911c

Browse files
authored
Remove log level logging (#752)
1 parent b27b38f commit f20911c

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/electionguard/manifest.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ def crypto_hash(self) -> ElementModQ:
121121
A hash representation of the object
122122
"""
123123
hash = hash_elems(self.annotation, self.value)
124-
log_debug(f"{self.__class__} : crypto_hash: {hash.to_hex()}")
125124
return hash
126125

127126

@@ -151,7 +150,6 @@ def crypto_hash(self) -> ElementModQ:
151150
A hash representation of the object
152151
"""
153152
hash = hash_elems(self.value, self.language)
154-
log_debug(f"{self.__class__} : crypto_hash: {hash.to_hex()}")
155153
return hash
156154

157155

@@ -178,7 +176,6 @@ def crypto_hash(self) -> ElementModQ:
178176
A hash representation of the object
179177
"""
180178
hash = hash_elems(self.text)
181-
log_debug(f"{self.__class__} : crypto_hash: {hash.to_hex()}")
182179
return hash
183180

184181

@@ -214,7 +211,6 @@ def crypto_hash(self) -> ElementModQ:
214211
A hash representation of the object
215212
"""
216213
hash = hash_elems(self.name, self.address_line, self.email, self.phone)
217-
log_debug(f"{self.__class__} : crypto_hash: {hash.to_hex()}")
218214
return hash
219215

220216

@@ -237,7 +233,6 @@ def crypto_hash(self) -> ElementModQ:
237233
hash = hash_elems(
238234
self.object_id, self.name, str(self.type.name), self.contact_information
239235
)
240-
log_debug(f"{self.__class__} : crypto_hash: {hash.to_hex()}")
241236
return hash
242237

243238

@@ -258,7 +253,6 @@ def crypto_hash(self) -> ElementModQ:
258253
hash = hash_elems(
259254
self.object_id, self.geopolitical_unit_ids, self.party_ids, self.image_uri
260255
)
261-
log_debug(f"{self.__class__} : crypto_hash: {hash.to_hex()}")
262256
return hash
263257

264258

@@ -291,7 +285,6 @@ def crypto_hash(self) -> ElementModQ:
291285
self.color,
292286
self.logo_uri,
293287
)
294-
log_debug(f"{self.__class__} : crypto_hash: {hash.to_hex()}")
295288
return hash
296289

297290

@@ -323,7 +316,6 @@ def crypto_hash(self) -> ElementModQ:
323316
A hash representation of the object
324317
"""
325318
hash = hash_elems(self.object_id, self.name, self.party_id, self.image_uri)
326-
log_debug(f"{self.__class__} : crypto_hash: {hash.to_hex()}")
327319
return hash
328320

329321

@@ -426,7 +418,6 @@ def crypto_hash(self) -> ElementModQ:
426418
self.votes_allowed,
427419
self.ballot_selections,
428420
)
429-
log_debug(f"{self.__class__} : crypto_hash: {hash.to_hex()}")
430421
return hash
431422

432423
def is_valid(self) -> bool:
@@ -674,7 +665,6 @@ def crypto_hash(self) -> ElementModQ:
674665
self.contests,
675666
self.ballot_styles,
676667
)
677-
log_debug(f"{self.__class__} : crypto_hash: {hash.to_hex()}")
678668
return hash
679669

680670
def is_valid(self) -> bool:

0 commit comments

Comments
 (0)