Mailinglist Archive: yast-commit (396 mails)

< Previous Next >
[yast-commit] r65296 - /branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/custom_part_dialogs.ycp
Author: fehr
Date: Wed Aug 10 11:17:34 2011
New Revision: 65296

URL: http://svn.opensuse.org/viewcvs/yast?rev=65296&view=rev
Log:
improvements after code reading

Modified:

branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/custom_part_dialogs.ycp

Modified:
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/custom_part_dialogs.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/custom_part_dialogs.ycp?rev=65296&r1=65295&r2=65296&view=diff
==============================================================================
---
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/custom_part_dialogs.ycp
(original)
+++
branches/SuSE-Code-11-SP2-Branch/storage/storage/src/include/custom_part_dialogs.ycp
Wed Aug 10 11:17:34 2011
@@ -1351,8 +1351,7 @@
if( p["name"]:""==pth )
{
p["delete"] = true;
- if( haskey( p, "create" ))
- p = remove( p, "create" );
+ p = remove( p, "create" );
}
return p;
});
@@ -1369,7 +1368,7 @@
y2milestone( "SubvolHandling names:%1", SubvolNames( new ) );
if( pth==nil || size(pth)==0 )
Popup::Message(_("Empty subvolume name not allowed."));
- else if( size(filter( string s, SubvolNames( new ), ``(s==pth)))>0 )
+ else if( contains( SubvolNames( new ), pth ))
Popup::Message(sformat(_("Subvolume name %1 already
exists."),pth));
else
{

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages