[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16465] trunk/blender/release/scripts/ bpymodules/BPyTextPlugin.py: Scripts

Ken Hughes khughes at pacific.edu
Wed Sep 10 23:37:22 CEST 2008


Revision: 16465
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16465
Author:   khughes
Date:     2008-09-10 23:37:22 +0200 (Wed, 10 Sep 2008)

Log Message:
-----------
Scripts
-------
Removed empty parenthesis from class definitions, causes a syntax error in 
Python 2.4 (reported by Sanne on IRC, thanks!)

Modified Paths:
--------------
    trunk/blender/release/scripts/bpymodules/BPyTextPlugin.py

Modified: trunk/blender/release/scripts/bpymodules/BPyTextPlugin.py
===================================================================
--- trunk/blender/release/scripts/bpymodules/BPyTextPlugin.py	2008-09-10 15:51:10 UTC (rev 16464)
+++ trunk/blender/release/scripts/bpymodules/BPyTextPlugin.py	2008-09-10 21:37:22 UTC (rev 16465)
@@ -20,7 +20,7 @@
 from tokenize import generate_tokens, TokenError, \
 		COMMENT, DEDENT, INDENT, NAME, NEWLINE, NL, STRING, NUMBER
 
-class Definition():
+class Definition:
 	"""Describes a definition or defined object through its name, line number
 	and docstring. This is the base class for definition based descriptors.
 	"""
@@ -30,7 +30,7 @@
 		self.lineno = lineno
 		self.doc = doc
 
-class ScriptDesc():
+class ScriptDesc:
 	"""Describes a script through lists of further descriptor objects (classes,
 	defs, vars) and dictionaries to built-in types (imports). If a script has
 	not been fully parsed, its incomplete flag will be set. The time of the last





More information about the Bf-blender-cvs mailing list