Remove accidentally committed changes

This commit is contained in:
Lonami Exo 2018-08-02 22:36:29 +02:00
parent 3177e3a956
commit 4e985c3e4a

View File

@ -66,22 +66,3 @@ def get_password_hash(pw, current_salt):
return sha256(pw_hash).digest() return sha256(pw_hash).digest()
# endregion # endregion
# region Custom Classes
class TotalList(collections.UserList):
"""
A list with an extra `total` property, which may not match its `len`
since the total represents the total amount of items *available*
somewhere else, not the items *in this list*.
"""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.total = 0
def __str__(self):
return '[{}, total={}]'.format(
', '.join(repr(x) for x in self), self.total)
# endregion