>  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


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to