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
generate shell version of config options
[monitor.git]
/
shconfig.py
diff --git a/shconfig.py
b/shconfig.py
new file mode 100755
(executable)
index 0000000..
0b28577
--- /dev/null
+++ b/
shconfig.py
@@ -0,0
+1,8
@@
+#!/usr/bin/python
+
+import config
+
+for attr in dir(config):
+ val = config.__getattribute__(attr)
+ if attr[0].isupper() and attr[1].isupper():
+ print "%s=%s " % (attr, val)