1
0

Merge branch 'client_thread'

This commit is contained in:
Neil Booth
2016-01-19 21:01:46 +09:00
6 changed files with 106 additions and 74 deletions

View File

@@ -21,6 +21,10 @@ class InvalidPassword(Exception):
def __str__(self):
return _("Incorrect password")
class SilentException(Exception):
'''An exception that should probably be suppressed from the user'''
pass
class MyEncoder(json.JSONEncoder):
def default(self, obj):
from transaction import Transaction