gentoo-overlay/dev-java/jython/files/2.1-assert-SimpleCompiler.py.patch

11 lines
504 B
Diff

--- 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: