Revision d771dffc ncclient/transport/hello.py

b/ncclient/transport/hello.py
16 16

  
17 17
from ncclient import content
18 18

  
19
class HelloHandler(Listener):
19
class HelloHandler:
20 20
    
21 21
    def __init__(self, init_cb, error_cb):
22 22
        self._init_cb = init_cb
23 23
        self._error_cb = error_cb
24 24
    
25
    def __str__(self):
26
        return 'HelloListener'
27
    
28 25
    def callback(self, root, raw):
29 26
        if content.unqualify(root[0]) == 'hello':
30 27
            try:

Also available in: Unified diff