Zionetrix::Git
Repositories
Help
Report an Issue
MyCoServer
Code
Commits
Branches
Tags
Search
Tree:
7004713
Branches
Tags
master
MyCoServer
mycoserver
conv.py
Initial commit
Benjamin Renard
commited
7004713
at 2014-01-12 00:33:07
conv.py
Blame
History
Raw
# -*- coding: utf-8 -*- from biryani1.baseconv import cleanup_line, empty_to_none, not_none, pipe, struct inputs_to_login_data = struct( { 'email': pipe(cleanup_line, empty_to_none), 'password': pipe(cleanup_line, empty_to_none), }, default='drop', drop_none_values=False, ) inputs_to_sync_data = struct( { 'email': pipe(cleanup_line, empty_to_none), 'password': pipe(cleanup_line, empty_to_none), 'groups': pipe(empty_to_none), }, default='drop', drop_none_values=False, )