|
@@ -41,7 +41,7 @@ class LeQuery(object):
|
41
|
41
|
##@brief Abstract constructor
|
42
|
42
|
# @param target_class LeObject : class of object the query is about
|
43
|
43
|
def __init__(self, target_class):
|
44
|
|
- if hook_prefix is None:
|
|
44
|
+ if self._hook_prefix is None:
|
45
|
45
|
raise NotImplementedError("Abstract class")
|
46
|
46
|
if not issubclass(target_class, LeObject):
|
47
|
47
|
raise TypeError("target class has to be a child class of LeObject")
|