git://git.onelab.eu
/
monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c13982
)
generate shell version of config options
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Wed, 24 Sep 2008 19:29:22 +0000
(19:29 +0000)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Wed, 24 Sep 2008 19:29:22 +0000
(19:29 +0000)
shconfig.py
[new file with mode: 0755]
patch
|
blob
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)