marvin_refactor: skip jobStatus and jobId when determining mirror objects

When comparing json response against the response object disregard the
jobstatus and jobid returned as part of object response. These are some
quirks in the API response added previously that we are unable to
remove.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
Prasanna Santhanam 2013-09-03 16:44:17 +05:30
parent 5fab4fd3a2
commit 4d3865808d
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ def finalizeResultObj(result, responseName, responsecls):
mirrorObj = False
for k, v in value.__dict__.iteritems():
if k.startswith('job'):
continue
if k in responsecls.__dict__:
mirrorObj = True
else: