[Spice-devel] [PATCH 3/5] fix wrong assert check
Frediano Ziglio
fziglio at redhat.com
Mon May 16 15:59:40 UTC 2016
The assert were never triggered as always True
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
python_modules/ptypes.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py
index 753d363..74f3e55 100644
--- a/python_modules/ptypes.py
+++ b/python_modules/ptypes.py
@@ -223,7 +223,7 @@ class TypeRef(Type):
return _types_by_name[self.name]
def register(self):
- assert True, "Can't register TypeRef!"
+ assert False, "Can't register TypeRef!"
class IntegerType(Type):
--
2.7.4
More information about the Spice-devel
mailing list