Author: kmachalkova Date: Fri Oct 31 14:23:43 2008 New Revision: 52795
URL: http://svn.opensuse.org/viewcvs/yast?rev=52795&view=rev Log: Pass empty map to partitioner if user cancels the operation
Modified: trunk/nfs-client/src/nfs-client4part.ycp
Modified: trunk/nfs-client/src/nfs-client4part.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/nfs-client/src/nfs-client4part.yc... ============================================================================== --- trunk/nfs-client/src/nfs-client4part.ycp (original) +++ trunk/nfs-client/src/nfs-client4part.ycp Fri Oct 31 14:23:43 2008 @@ -28,12 +28,15 @@
map <string, any> ToStorage ( map <string, any> entry ) { + map <string, any> ret = $[];
- return ( $[ + if (entry != nil && entry != $[]) + ret = $[ "device" : entry["spec"]:"", "mount" : entry["file"]:"", "fstopt" : entry["mntops"]:"" - ]); + ]; + return ret; }
if (func == "CreateUI")
yast-commit@lists.opensuse.org