To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=98621
------- Additional comments from steelbl...@openoffice.org Thu Jan 29 19:31:48 +0000 2009 ------- The following patch works for me (it is also attached). By working, I mean that future __import__ calls with keyword arguments do not raise exceptions after making these changes. Note that I didn't test this against other versions of python or OOo. I accidentally attached a patch in reverse order, so please use the one that says (Corrected). --- uno.py.orig 2009-01-23 12:47:24.000000000 -0500 +++ uno.py 2009-01-23 12:48:42.000000000 -0500 @@ -253,13 +253,13 @@ #--------------------------------------------------------------------------------------- # don't use any functions beyond this point, private section, likely to change #--------------------------------------------------------------------------------------- -def _uno_import( name, *optargs ): +def _uno_import( name, *optargs, **kwargs ): try: # print "optargs = " + repr(optargs) if len(optargs) == 0: - return _g_delegatee( name ) + return _g_delegatee( name, **kwargs ) #print _g_delegatee - return _g_delegatee( name, *optargs ) + return _g_delegatee( name, *optargs, **kwargs ) except ImportError: if len(optargs) != 3 or not optargs[2]: raise --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org