summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-08-02 20:47:12 +0000
committerTed Ross <tross@apache.org>2010-08-02 20:47:12 +0000
commitbf4dbd862a817a026fa3552ab1bf04e21a0af2bf (patch)
tree6e8a9ac3ae397e83c19f8a2589dca503e9550834 /extras
parentc59b58edeb6f17a5f9fe5a8ce3bf6389f37d5af9 (diff)
downloadqpid-python-bf4dbd862a817a026fa3552ab1bf04e21a0af2bf.tar.gz
Bugfix: Schema cache in console.py could get locked in the state where
entries were partial (i.e. schema key is known but schema is not). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981682 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'extras')
-rw-r--r--extras/qmf/src/py/qmf/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/qmf/src/py/qmf/console.py b/extras/qmf/src/py/qmf/console.py
index 378f43912c..9967ba2b78 100644
--- a/extras/qmf/src/py/qmf/console.py
+++ b/extras/qmf/src/py/qmf/console.py
@@ -1579,7 +1579,7 @@ class SchemaCache(object):
self.packages[pname] = {}
new_package = True
packageMap = self.packages[pname]
- if pkey not in packageMap:
+ if pkey not in packageMap or not isinstance(packageMap[pkey], SchemaClass):
if classDef is not None:
new_class = True
packageMap[pkey] = classDef