From: ByungWoo Lee Date: Fri, 4 Mar 2016 07:17:56 +0000 (+0900) Subject: Fix wrong xml tag X-Git-Tag: submit/tizen/20160314.063505~6^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f6ec96bf99a4470cc6b6136bf6f70a35775c5c7;p=platform%2Fcore%2Fapi%2Fcommon.git Fix wrong xml tag Change-Id: Ib3ecc0889041079d98c1679231c0fa1af0823569 --- diff --git a/error_messages/badge.xml b/error_messages/badge.xml index a1c4f04..8725238 100644 --- a/error_messages/badge.xml +++ b/error_messages/badge.xml @@ -22,6 +22,6 @@ TIZEN_ERROR_BADGE | 0x06 - The caller application is not signed with the certificate of the badge owner + The caller application is not signed with the certificate of the badge owner diff --git a/tool/make_msg_header.py b/tool/make_msg_header.py old mode 100644 new mode 100755 index d2bdac2..d3acc32 --- a/tool/make_msg_header.py +++ b/tool/make_msg_header.py @@ -28,15 +28,17 @@ fp.write( "} err_info;\n\n" ) fp.write( "static err_info err_list[] = {\n" ); for root, dirs, files in os.walk( msgpath ): for file in files: + print ">>>> " + file targetXML = open( os.path.join( msgpath, file ) ) tree = parse( targetXML ) - errorroot = tree.getroot() + errorroot = tree.getroot() for error in errorroot.findall( "error" ): fp.write( "\tERR_ENTRY(\"" ) fp.write( error.get( "name" ) + "\", ") fp.write( error.findtext( "value" ) + ", \"" ) fp.write( error.findtext( "msg" ) + "\"),\n" ) + print error.get( "name" ) fp.write( "\t{0, NULL, NULL}\n" ) fp.write( "};\n" )