[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16174] branches/soc-2008-quorn/release/ scripts/bpymodules/BPyTextPlugin.py: Missed parentheses from except clause, has a whole different meaning.

Ian Thompson quornian at googlemail.com
Mon Aug 18 16:16:35 CEST 2008


Revision: 16174
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16174
Author:   quorn
Date:     2008-08-18 16:16:34 +0200 (Mon, 18 Aug 2008)

Log Message:
-----------
Missed parentheses from except clause, has a whole different meaning.

Modified Paths:
--------------
    branches/soc-2008-quorn/release/scripts/bpymodules/BPyTextPlugin.py

Modified: branches/soc-2008-quorn/release/scripts/bpymodules/BPyTextPlugin.py
===================================================================
--- branches/soc-2008-quorn/release/scripts/bpymodules/BPyTextPlugin.py	2008-08-18 13:25:27 UTC (rev 16173)
+++ branches/soc-2008-quorn/release/scripts/bpymodules/BPyTextPlugin.py	2008-08-18 14:16:34 UTC (rev 16174)
@@ -265,7 +265,7 @@
 			type, text, start, end, line = tokens.next()
 		except StopIteration:
 			break
-		except TokenError, IndentationError:
+		except (TokenError, IndentationError):
 			incomplete = True
 			break
 		





More information about the Bf-blender-cvs mailing list