git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hope I got the merge wright...
[monitor.git]
/
commands
/
shconfig.py
diff --git a/commands/shconfig.py
b/commands/shconfig.py
new file mode 100755
(executable)
index 0000000..
ba2f5e5
--- /dev/null
+++ b/
commands/shconfig.py
@@ -0,0
+1,8
@@
+#!/usr/bin/python
+
+from monitor import config
+
+for attr in dir(config):
+ val = config.__getattribute__(attr)
+ if attr[0].isupper() and attr[1].isupper():
+ print '%s="%s" ' % (attr, val)