def _parseClientUNIX(*args, **kwargs):
 if (len(args) == 1):
  kwargs['path'] = args[0]
 try:
  kwargs['checkPID'] = bool(int(kwargs.pop('lockfile')))
 except KeyError:
  pass
 try:
  kwargs['timeout'] = int(kwargs['timeout'])
 except KeyError:
  pass
 return kwargs

def _parseClientUNIX ( * args , ** kwargs ) : if ( len ( args ) == 1 ) : kwargs [ 'path' ] = args [ 0 ] try : kwargs [ 'checkPID' ] = bool ( int ( kwargs . pop ( 'lockfile' ) ) ) except KeyError : pass try : kwargs [ 'timeout' ] = int ( kwargs [ 'timeout' ] ) except KeyError : pass return kwargs
perform any argument value coercion necessary for unix client parameters .