← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2475: 1. Fix startup error with debug-only builds. Sorry, Anton.

 

------------------------------------------------------------
revno: 2475
committer: Václav Šmilauer <eu@xxxxxxxx>
branch nick: yade
timestamp: Tue 2010-10-12 15:56:01 +0200
message:
  1. Fix startup error with debug-only builds. Sorry, Anton.
modified:
  core/main/main.py.in


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'core/main/main.py.in'
--- core/main/main.py.in	2010-10-11 16:28:49 +0000
+++ core/main/main.py.in	2010-10-12 13:56:01 +0000
@@ -13,7 +13,7 @@
 debugLibDir=nonDebugLibDir+'/dbg'
 hasDebug,hasNonDebug=os.path.exists(debugLibDir+'/lib'),os.path.exists(nonDebugLibDir+'/lib')
 if hasDebug and hasNonDebug: buildsAvailable='both non-debug and debug build'
-elif hasDebug and not hasNonDebug: buildsAvaible='debug build only'
+elif hasDebug and not hasNonDebug: buildsAvailable='debug build only'
 elif not hasDebug and hasNonDebug: buildsAvailable='non-debug build only'
 else:
 	raise RuntimeError('Neither non-debug nor debug build found! ('+nonDebugLibDir+'/lib, '+debugLibDir+'/lib)')