From 4f6e5c5f5a7796459a02ad51f6bae90ea2c11d41 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sat, 21 Sep 2019 18:21:09 +0200 Subject: [PATCH] Remove another debug print, bump v1.10.4 --- setup.py | 10 ++++++---- telethon/password.py | 3 --- telethon/version.py | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index cb4b8939..b03fe95c 100755 --- a/setup.py +++ b/setup.py @@ -140,10 +140,12 @@ def generate(which, action='gen'): gen_json(*fs) if which: - print('The following items were not understood:', which) - print(' Consider using only "tl", "errors" and/or "docs".') - print(' Using only "clean" will clean them. "all" to act on all.') - print(' For instance "gen tl errors".') + print( + 'The following items were not understood:', which, + '\n Consider using only "tl", "errors" and/or "docs".' + '\n Using only "clean" will clean them. "all" to act on all.' + '\n For instance "gen tl errors".' + ) def main(): diff --git a/telethon/password.py b/telethon/password.py index 1c4666b5..5afb53d1 100644 --- a/telethon/password.py +++ b/telethon/password.py @@ -173,9 +173,6 @@ def compute_check(request: types.account.Password, password: str): if u > 0: return (a, a_for_hash, u) - print(A, 'bad for', p) - time.sleep(1) - a, a_for_hash, u = generate_and_check_random() g_b = (B - kg_x) % p if not is_good_mod_exp_first(g_b, p): diff --git a/telethon/version.py b/telethon/version.py index 7d082dfc..0050bde0 100644 --- a/telethon/version.py +++ b/telethon/version.py @@ -1,3 +1,3 @@ # Versions should comply with PEP440. # This line is parsed in setup.py: -__version__ = '1.10.3' +__version__ = '1.10.4'