X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fovsdb-idlc.in;h=d7115412bee198f69095e18403df3a8442cd37f1;hb=4cb3fde7c9224ca4f939852c5e7987fc5112d680;hp=3392c3559f38349b2e2b4267c0ad3d282ba506fd;hpb=7cba02e442012a7ae6cfdfe67f858a18057e5470;p=openvswitch diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in index 3392c355..d7115412 100755 --- a/ovsdb/ovsdb-idlc.in +++ b/ovsdb/ovsdb-idlc.in @@ -548,6 +548,7 @@ void print " %s_columns_init();" % structName print "}" + def ovsdb_escape(string): def escape(match): c = match.group(0) @@ -569,8 +570,6 @@ def ovsdb_escape(string): return '\\x%02x' % ord(c) return re.sub(r'["\\\000-\037]', escape, string) - - def usage(): print """\ %(argv0)s: ovsdb schema compiler