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
clearer names for actions, and infer actions better
[monitor.git]
/
commands
/
shconfig.py
diff --git
a/commands/shconfig.py
b/commands/shconfig.py
index
ba2f5e5
..
0c599ab
100755
(executable)
--- a/
commands/shconfig.py
+++ b/
commands/shconfig.py
@@
-4,5
+4,5
@@
from monitor import config
for attr in dir(config):
val = config.__getattribute__(attr)
for attr in dir(config):
val = config.__getattribute__(attr)
- if
attr[0].isupper() and attr[1].isupper(
):
+ if
(attr[0].isupper() and attr[1].isupper()) or ('email' in attr
):
print '%s="%s" ' % (attr, val)
print '%s="%s" ' % (attr, val)