Index: tools/json_schema_compiler/schema_util.py |
diff --git a/tools/json_schema_compiler/schema_util.py b/tools/json_schema_compiler/schema_util.py |
index 7ce399e8ed31e0a0a75a76d82176a39a9a00e6a1..5a1169f9e2c262ae5a18e455b5b7ae32114ca144 100644 |
--- a/tools/json_schema_compiler/schema_util.py |
+++ b/tools/json_schema_compiler/schema_util.py |
@@ -12,6 +12,9 @@ def CapitalizeFirstLetter(value): |
def GetNamespace(ref): |
return SplitNamespace(ref)[0] |
+def GetBaseNamespace(ref): |
+ return SplitNamespace(ref)[-1] |
not at google - send to devlin
2013/01/31 02:08:48
I'm confused, what does "base namespace" mean? Isn
sashab
2013/01/31 04:41:40
The case I was thinking of was:
"app.window.AppWi
|
+ |
def StripNamespace(ref): |
return SplitNamespace(ref)[1] |