diff options
Diffstat (limited to 'dev-java/jython/files/2.1-assert-SimpleCompiler.py.patch')
-rw-r--r-- | dev-java/jython/files/2.1-assert-SimpleCompiler.py.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-java/jython/files/2.1-assert-SimpleCompiler.py.patch b/dev-java/jython/files/2.1-assert-SimpleCompiler.py.patch new file mode 100644 index 000000000000..55e154999195 --- /dev/null +++ b/dev-java/jython/files/2.1-assert-SimpleCompiler.py.patch @@ -0,0 +1,11 @@ +--- jython-2.1/Tools/jythonc/SimpleCompiler.py.orig 2006-09-08 13:21:29.000000000 -0600 ++++ jython-2.1/Tools/jythonc/SimpleCompiler.py 2006-09-08 13:22:15.000000000 -0600 +@@ -577,7 +577,7 @@ + args.append(message.asAny()) + + return jast.If(self.frame.getglobal("__debug__").nonzero(), +- jast.InvokeStatic("Py", "assert", args)) ++ jast.InvokeStatic("Py", "assert_", args)) + + def return_stmt(self, value=None): + if value is None: |