From: <bva...@us...> - 2011-06-30 18:40:35
|
Revision: 3646 http://scst.svn.sourceforge.net/scst/?rev=3646&view=rev Author: bvassche Date: 2011-06-30 18:40:29 +0000 (Thu, 30 Jun 2011) Log Message: ----------- scstadmin: Whitespace fixes for the -write_config changes introduced in r3606. Separate device handler key and non-key attributes with a single blank line instead of two. Indent <target>.<lun>.<attribute> with three tabs instead of four. Modified Paths: -------------- trunk/scstadmin/scstadmin.sysfs/scstadmin Modified: trunk/scstadmin/scstadmin.sysfs/scstadmin =================================================================== --- trunk/scstadmin/scstadmin.sysfs/scstadmin 2011-06-30 01:01:17 UTC (rev 3645) +++ trunk/scstadmin/scstadmin.sysfs/scstadmin 2011-06-30 18:40:29 UTC (rev 3646) @@ -1127,7 +1127,6 @@ $attribute_buff_nk .= "\n" if ($attribute_buff_nk); if ($attribute_buff_nk) { - $attribute_buff .= "\n" if ($attribute_buff); $attribute_buff .= "\t\t# Non-key attributes\n"; $attribute_buff .= $attribute_buff_nk; } @@ -1205,16 +1204,16 @@ my $attributes = $SCST->lunAttributes($driver, $target, $lun); my $l_attribute_buff = - serializeKeyAttr("\t\t\t\t", + serializeKeyAttr("\t\t\t", $attributes, $lun_attrs); my $l_attribute_buff_nk = - serializeNkAttr("\t\t\t\t", + serializeNkAttr("\t\t\t", $attributes, $lun_attrs) if ($nonkey); if ($l_attribute_buff_nk) { - $l_attribute_buff .= "\t\t\t\t# Non-key attributes\n"; + $l_attribute_buff .= "\t\t\t# Non-key attributes\n"; $l_attribute_buff .= $l_attribute_buff_nk; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |