← Back to team overview

yade-dev team mailing list archive

Re: Problem to start a Yade

 

>  par=optparse.OptionParser(usage='%prog [options]
> [ simulation.xml[.bz2] | script.py [script
> options]]',prog=os.path.basename(sys.argv[0]),version='%s (%s; %
> s)'%(version,','.join(features),buildsAvailable),description="Yade:
> open-source platform for dynamic compuations. Homepage
> http://www.yade-dem.org, code hosted at http://www.launchpad.net/yade.
> This is version %s (with features %s, %
> s)."%(version,','.join(features),buildsAvailable))
> NameError: name 'buildsAvailable' is not defined

if hasDebug and hasNonDebug: buildsAvailable='both non-debug and debug build'
elif hasDebug and not hasNonDebug: buildsAvaible='debug build only'
                                   ^^^^^^^^^^^^^^

Typo there. Commiting in a few minutes. Sorry.

v




Follow ups

References