Fix wrong xml tag 39/61139/1
authorByungWoo Lee <bw1212.lee@samsung.com>
Fri, 4 Mar 2016 07:17:56 +0000 (16:17 +0900)
committerByungWoo Lee <bw1212.lee@samsung.com>
Fri, 4 Mar 2016 07:17:56 +0000 (16:17 +0900)
Change-Id: Ib3ecc0889041079d98c1679231c0fa1af0823569

error_messages/badge.xml
tool/make_msg_header.py [changed mode: 0644->0755]

index a1c4f04..8725238 100644 (file)
@@ -22,6 +22,6 @@
        </error>
        <error name="BADGE_ERROR_INVALID_PACKAGE">
                <value>TIZEN_ERROR_BADGE | 0x06</value>
-               <msg>The caller application is not signed with the certificate of the badge owner</value>
+               <msg>The caller application is not signed with the certificate of the badge owner</msg>
        </error>
 </package>
old mode 100644 (file)
new mode 100755 (executable)
index d2bdac2..d3acc32
@@ -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" )