2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

xenserver: Add type-checking to monitor-external-ids script.

Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Ben Pfaff
2010-08-26 09:39:54 -07:00
parent d5beca6881
commit 3161c659b7
2 changed files with 7 additions and 1 deletions

View 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)