remove unused yesno helper
This commit is contained in:
parent
241daabecd
commit
70518c01a1
1 changed files with 0 additions and 7 deletions
|
|
@ -925,10 +925,3 @@ class DatetimeJSONEncoder(json.JSONEncoder):
|
|||
if isinstance(o, xmlrpc_client.DateTime):
|
||||
return str(o)
|
||||
return json.JSONEncoder.default(self, o)
|
||||
|
||||
|
||||
def yesno(x):
|
||||
if x:
|
||||
return 'Y'
|
||||
else:
|
||||
return 'N'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue