[omniORB] Omniidl and python packages
Duncan Grisby
duncan at grisby.org
Wed Oct 7 18:30:28 BST 2009
On Thursday 24 September, "Cetateanu Marius-B01107" wrote:
[...]
> So far so good. But
> in the Example_idl.py file which is generated in intf/stubsCORBA/ I get
> the __name__ variable (at the end of the file)
> set in the following way:
> "
> #
> # End of module "Example"
> #
> __name__ = "intf.stubsCORBA.intf.stubsCORBA.Example_idl"
> "
It's a bug. I've fixed it in svn.
> The fact that the name of the package was doubled causes my program
> which uses Example to fail. Is the doubled name correct? If it's correct
> then why the import in the __init__.py was generated without the doubled
> name?
What is your program doing? Normally the name of the module isn't
required for anything. It's only set for information, really.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list