Commonly, I think super(Nodedev_detachError, self).__init__()  is better, what do you think?