xenserver: Add type-checking to monitor-external-ids script.
[sliver-openvswitch.git] / python / ovs / db / types.py
index aa0a8ed..6e7ef11 100644 (file)
@@ -386,7 +386,7 @@ class Type(object):
                 self.n_min == other.n_min and self.n_max == other.n_max)
 
     def __ne__(self, other):
-        if not isinstance(other, BaseType):
+        if not isinstance(other, Type):
             return NotImplemented
         else:
             return not (self == other)