From 3ec8cc018c0826f85eef12c352308c4158439509 Mon Sep 17 00:00:00 2001 From: ligc Date: Sun, 19 Dec 2010 13:37:20 +0000 Subject: [PATCH] remove the unnecessary blank line before each object name in lsdef output git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index e76c404b7..5227b41eb 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -2783,11 +2783,11 @@ sub defls { if ($#::clobjtypes > 0) { - push (@{$rsp_info->{data}}, "\nObject name: $obj ($defhash{$obj}{'objtype'})"); + push (@{$rsp_info->{data}}, "Object name: $obj ($defhash{$obj}{'objtype'})"); } else { - push (@{$rsp_info->{data}}, "\nObject name: $obj"); + push (@{$rsp_info->{data}}, "Object name: $obj"); } }