aboutsummaryrefslogtreecommitdiffstats
path: root/cleanup.py
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2020-06-17 15:47:31 +0200
committernico <nico@magicbroccoli.de>2020-06-17 15:47:31 +0200
commit71440b7a8fa8b20cb1174e5451efc6ab7f9824ae (patch)
tree124cc68b0fbdd11c023baffd478367ab04e2a7be /cleanup.py
parentd36dbe03c8c4c11730a8da3c07844ef57fc21ff5 (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-xcleanup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cleanup.py b/cleanup.py
index 1654497..f66bea9 100755
--- a/cleanup.py
+++ b/cleanup.py
@@ -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 = []