[Bug 343307] New: Python-Bindings: Missing ycp.is() function
https://bugzilla.novell.com/show_bug.cgi?id=343307 Summary: Python-Bindings: Missing ycp.is() function Product: openSUSE 11.0 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: juhliarik@novell.com ReportedBy: dfiser@novell.com QAContact: jsrain@novell.com Found By: --- I am missing ycp.is() function in python. In YCP I can call is(var, string) to know whether given variable is string. It would be nice to have something similar in python, but maybe it would be better no name this functions like isString/isInteger/isTerm/... In ycp.Term, ycp.Symbol and ycp.Path there are functions isTerm, isPath, isSymbol, so see their implementation for inspiration. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=343307
Jozef Uhliarik
participants (1)
-
bugzilla_noreply@novell.com