commit | 5a68476406b0aa3f6acac69d6d32ffed89a13a87 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Wed Jan 17 00:56:07 2018 -0500 |
committer | Sapan Bhatia <sapan@opennetworking.org> | Wed Jan 17 17:39:26 2018 +0000 |
tree | e31afd18b66c9059748a170ddabfdd0f34c544c0 | |
parent | 87962614a618681a9893f39760e654b0b3587bcb [diff] |
CORD-2545: Fix error in pure protobuf policies Change-Id: Iedcec7ff63f4c5e29cbe4db281ce8d61ca82d5c9
diff --git a/lib/xos-genx/xosgenx/proto2xproto.py b/lib/xos-genx/xosgenx/proto2xproto.py index f3acc23..d2bde67 100644 --- a/lib/xos-genx/xosgenx/proto2xproto.py +++ b/lib/xos-genx/xosgenx/proto2xproto.py
@@ -97,7 +97,7 @@ rhs = rhs[1:-1] if rhs.startswith('policy:'): - str = rhs.split(':')[1] + str = rhs.split(':',1)[1] val = self.fol_parser.parse(str, lexer = self.fol_lexer) return m.PolicyDefinition(obj.name, val)