Minor stuff, cleanup and formating.

This commit is contained in:
Romain Dorgueil
2017-04-25 07:47:51 +02:00
parent 315961bef8
commit 3ecb2c2ccd
16 changed files with 102 additions and 213 deletions

View File

@ -71,12 +71,7 @@ def PrettyPrint(title_keys=('title', 'name', 'id'), print_values=True, sort=True
row = args[0]
for key in title_keys:
if key in row:
print(
Style.BRIGHT,
row.get(key),
Style.RESET_ALL,
sep=''
)
print(Style.BRIGHT, row.get(key), Style.RESET_ALL, sep='')
break
if print_values:

View File

@ -84,6 +84,7 @@ class ValueHolder:
def __itruediv__(self, other):
self.value /= other
"""
object.__matmul__(self, other)
object.__truediv__(self, other)