43c7636920
Make PEP8 finally happy
2019-10-13 21:12:17 +02:00
290e72f159
Add various documentation to the System class and sqlitedb-Class...
...
... which are all written in rst-format, which sphynx understands and has
an own formal specification in http://docutils.sourceforge.net/rst.html
2019-10-13 21:09:24 +02:00
d413662b36
Adds ability to delete users in db as well as on the system + type hints..
...
.... in function names for further documentation.
2019-10-13 18:49:38 +02:00
a6d63fee42
PEP8: One Import per line... -.-
...
Add TODO statements and foremost return False on error. Missed that
2019-10-13 17:54:24 +02:00
c43cad73fa
Print Error messages to stderr instead of standard-out. Makes very much sense indeed!
2019-10-13 17:35:04 +02:00
89faf57b58
System: Still a lot @TODO here, but add it. Should(TM) work, but didn't
...
test it yet and also have to do a whole lot more. e.g. write out in dry-mode
which commands are getting to run in serious-mode but build up together
correctly in the correct order
2019-10-13 17:16:48 +02:00
4134e3cc2e
introduces -f/--file, which outputs or takes from a file(conditional to the current program)
2019-10-13 10:46:10 +02:00
6e86bf11bb
-a Flag: default false, do action on only approved users
2019-10-12 19:25:11 +02:00
3915843943
introducing the -u flag, which turns on the 'unapproved' mode.
...
Oh, and just testing it in ListUsers.py :)
2019-10-12 12:26:16 +02:00
96837cebe3
Externalize CFG-Handling into lib/CFG.py.
...
Never write this code again!
2019-10-12 11:39:19 +02:00
8ed215e89b
Create sqlite3 connector class to handle all the errors and quirks for us
2019-10-12 11:38:43 +02:00