def _get_cyg_dir(cyg_arch='x86_64'):
 if (cyg_arch == 'x86_64'):
  return 'cygwin64'
 elif (cyg_arch == 'x86'):
  return 'cygwin'
 raise SaltInvocationError('Invalid architecture {arch}'.format(arch=cyg_arch))

def _get_cyg_dir ( cyg_arch = 'x86_64' ) : if ( cyg_arch == 'x86_64' ) : return 'cygwin64' elif ( cyg_arch == 'x86' ) : return 'cygwin' raise SaltInvocationError ( 'Invalid architecture {arch}' . format ( arch = cyg_arch ) )
return the cygwin install directory based on the architecture .