def install_candidate(candidate, version=None, java_version=None):
 install(java_version)
 if (version is None):
  cmd = ('gvm install %s' % candidate)
 else:
  cmd = ('gvm install %s %s' % (candidate, version))
 run(cmd)

def install_candidate ( candidate , version = None , java_version = None ) : install ( java_version ) if ( version is None ) : cmd = ( 'gvm install %s' % candidate ) else : cmd = ( 'gvm install %s %s' % ( candidate , version ) ) run ( cmd )
install a candidate import fabtools # install a gvm candidate fabtools .