Skip to content

Commit a69c1f2

Browse files
committed
Remove misleading comment
1 parent 71c6eaa commit a69c1f2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tankersdk_identity/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def _hash_user_id(app_id, user_id):
2020

2121
def _generate_app_id(app_secret):
2222
public_key = app_secret[APP_SECRET_SIZE - APP_PUBLIC_KEY_SIZE:APP_SECRET_SIZE]
23-
# A bit convoluted, to make it work with python 2.7
2423
to_hash = bytes(bytearray([APP_CREATION_NATURE] + [0] * AUTHOR_SIZE)) + public_key
2524
return tankersdk_identity.crypto.generichash(to_hash, size=BLOCK_HASH_SIZE)
2625

0 commit comments

Comments
 (0)