[Bug 396697] New: remove builtin should not return nil (?)
https://bugzilla.novell.com/show_bug.cgi?id=396697 Summary: remove builtin should not return nil (?) Product: openSUSE 11.1 Version: Alpha 0 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: mvidner@novell.com ReportedBy: jsuchome@novell.com QAContact: jsrain@novell.com Found By: --- OK, it is documented correctly [1]: "Remove the value with the key KEY from a map. Returns nil if the key is invalid." IMHO it would be friendlier if the function would return the unchanged map if the key does not exist (see e.g. bug 396666 for a problem that could be avoided). I'm not sure, however: maybe someone expects the nil value, which is documented... [1] http://forgeftp.novell.com/yast/doc/SL10.3/tdg/YCPBuiltinMap_remove.html -- 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=396697
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396697#c1
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=396697
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=396697
User visnov@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396697#c2
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=396697
User visnov@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=396697#c3
Stanislav Visnovsky
participants (1)
-
bugzilla_noreply@novell.com