From f7e638f6f58188cd4be1921cb045608f3c00d9c4 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 20 Jun 2012 23:59:24 -0700 Subject: Return a empty json map as default instead of an empty string for unknown fields --- tools/mock-meta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mock-meta.py b/tools/mock-meta.py index 019a24f2..d4677af6 100755 --- a/tools/mock-meta.py +++ b/tools/mock-meta.py @@ -181,7 +181,7 @@ class MetaDataHandler(object): else: return "%s" % (PLACEMENT_CAPABILITIES.get(pentry, '')) else: - return '' + return '{}' class UserDataHandler(object): -- cgit v1.2.3