summaryrefslogtreecommitdiffstats
path: root/py3status/modules/glpi.py
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2015-03-31 13:14:25 +0200
committerUltrabug <ultrabug@gentoo.org>2015-03-31 13:14:25 +0200
commitada99c0af5665828abc725923bf2f104c577c852 (patch)
treea4e58a0d9a5bec4612efe98bf068730a45c32ef7 /py3status/modules/glpi.py
parentcdfec19502d0415f92d85ffa48e6bec495ccb644 (diff)
move config parameters on every module docstring, overall QA
Diffstat (limited to 'py3status/modules/glpi.py')
-rw-r--r--py3status/modules/glpi.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/py3status/modules/glpi.py b/py3status/modules/glpi.py
index 708ed4f..3c75c75 100644
--- a/py3status/modules/glpi.py
+++ b/py3status/modules/glpi.py
@@ -2,6 +2,14 @@
"""
Display the total number of open tickets from GLPI.
+Configuration parameters:
+ - critical : set bad color above this threshold
+ - db : database to use
+ - host : database host to connect to
+ - password : login password
+ - user : login user
+ - warning : set degraded color above this threshold
+
It features thresholds to colorize the output and forces a low timeout to
limit the impact of a server connectivity problem on your i3bar freshness.
"""
@@ -11,7 +19,8 @@ import MySQLdb
class Py3status:
-
+ """
+ """
# available configuration parameters
critical = 20
db = ''