diff options
author | nico <nico@magicbroccoli.de> | 2020-06-17 15:47:31 +0200 |
---|---|---|
committer | nico <nico@magicbroccoli.de> | 2020-06-17 15:47:31 +0200 |
commit | 71440b7a8fa8b20cb1174e5451efc6ab7f9824ae (patch) | |
tree | 124cc68b0fbdd11c023baffd478367ab04e2a7be /cleanup.py | |
parent | d36dbe03c8c4c11730a8da3c07844ef57fc21ff5 (diff) |
pep8 and friends
* add default logging NullHandler
* fix indentation mismatch
* rename control to calls to better point out its purpose
* rename class to EjabberdApiCalls to better point out it purpose
* changed get_nodes to an internal support method
Diffstat (limited to 'cleanup.py')
-rwxr-xr-x | cleanup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,10 +3,10 @@ import datetime import logging -from control import EjabberdCtl +from calls import EjabberdApiCalls -class EjabberdCleanup(EjabberdCtl): +class EjabberdCleanup(EjabberdApiCalls): def __init__(self, url, login, api): super().__init__(url, login, api) self.ignore_hosts = [] |