yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10204
[Branch ~yade-pkg/yade/git-trunk] Rev 3749: fixed SyntaxError from previous commit
------------------------------------------------------------
revno: 3749
committer: Jan Stransky <jan.stransky@xxxxxxxxxxx>
timestamp: Wed 2013-11-06 16:33:02 +0100
message:
fixed SyntaxError from previous commit
modified:
gui/qt4/__init__.py
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'gui/qt4/__init__.py'
--- gui/qt4/__init__.py 2013-11-06 14:47:35 +0000
+++ gui/qt4/__init__.py 2013-11-06 15:33:02 +0000
@@ -3,7 +3,7 @@
if not yade.runtime.hasDisplay:
msg = "Connecting to DISPLAY at Yade startup failed, unable to activate the qt4 interface."
import os
- 'YADE_BATCH' in os.environ:
+ if 'YADE_BATCH' in os.environ:
msg += "\nDo not import qt when running in batch mode."
raise ImportError(msg)