Skip to content

Commit ff72366

Browse files
committed
promote two more log messages to INFO
1 parent 11640a7 commit ff72366

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

polly/polly.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ def consider_words(self, candidates):
305305

306306
def print_statistics(self, _arg):
307307
"Print some summary details."
308-
self.print_and_log("DEBUG", f"message ids: {len(self.msg_ids)}")
309-
self.print_and_log("DEBUG", f"all words: {len(self.words)}")
308+
self.print_and_log("INFO", f"message ids: {len(self.msg_ids)}")
309+
self.print_and_log("INFO", f"all words: {len(self.words)}")
310310
md5 = hashlib.new("md5")
311311
for word in sorted(self.emitted):
312312
md5.update(word.encode("utf-8"))
@@ -320,7 +320,7 @@ def print_statistics(self, _arg):
320320
self.print_and_log("INFO", f"seen uids: {len(self.uids)}"
321321
f" {min(self.uids)} -> {max(self.uids)}")
322322
else:
323-
self.print_and_log("DEBUG", "no uids")
323+
self.print_and_log("INFO", "no uids")
324324

325325
def print_and_log(self, level, msg):
326326
"Print args and log @ level if log doesn't go to screen."

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "polly"
3-
version = "1.1"
3+
version = "1.1.1"
44
description = "Generate modified XKCD-936 passwords from personal word lists"
55
authors = ["Skip Montanaro <[email protected]>"]
66
license = "MPL"

0 commit comments

Comments
 (0)