|
Bugzilla – Full Text Bug Listing |
| Summary: | yast2-python-bindings has cumbersome call syntax | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Martin Vidner <mvidner> |
| Component: | YaST2 | Assignee: | Jozef Uhliarik <juhliarik> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P5 - None | ||
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
I have submitted yast2-core-2.15.11 with a new API SymbolTable::forEach. Now y-p-b can use it. this is fixed in new version of yast2-python-bindings 2.15.3 |
Currently one must write: ycp.run("UI", "AskForExistingDirectory", "/", "Where Is My Home?") instead of the natural UI.AskForExistingDirectory("/", "Where Is My Home?") It is because a YaST Namespace lacks a method to enumerate all its functions. That will be a simple addition to yast2-core, not affecting other code. yast2-python-bindings is currently a leaf package.