Commit Graph

6 Commits

Author SHA1 Message Date
vela-jabber d2d8ef2880 improve calls 2021-04-17 17:07:42 +02:00
nico ac0ea074d5
fix: nodename quotation issue
* update nodename method to not use regex anymore
* update readme with 2 new columns for the exit code table

We used quite the broad regex to parse the nodename from the status
string. But we relied on a single quote to mark the starting point.
It seems some distributions don't have this starting quote,
therefore breaking the api.
2020-11-24 23:37:00 +01:00
nico 5f0cb289c1
black reformat
* black reformatted the code
2020-06-29 11:03:49 +02:00
genofire 76b6be03ab add call for nodename 2020-06-26 08:24:45 +02:00
nico bf05b826a1
add more global values
* organize global values
+ add global uptime value
+ add global processes count value
2020-06-25 00:20:47 +02:00
nico 71440b7a8f
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
2020-06-17 15:47:31 +02:00
Renamed from control.py (Browse further)