##// END OF EJS Templates
system-snapshot: organize formatting more.
marcink -
r3919:c3b98e50 default
parent child Browse files
Show More
@@ -10,23 +10,20 b' SYSTEM INFO'
10 % endif
10 % endif
11 % endfor
11 % endfor
12
12
13 PYTHON PACKAGES
14 ---------------
15
16 % for key, value in c.py_modules['human_value']:
17 ${'{:<60}'.format(key)}: ${value}
18 % endfor
19
20 SYSTEM SETTINGS
13 SYSTEM SETTINGS
21 ---------------
14 ---------------
22
15
23 % for key, value in sorted(c.rhodecode_config['human_value'].items()):
16 % for key, value in sorted(c.rhodecode_config['human_value'].items()):
17 % if isinstance(value, dict):
18 <%
19 conf_file = value.pop('__file__', {})
20 server_main = value.pop('server:main', {})
21 %>
24 [${key}]
22 [${key}]
25 % if isinstance(value, dict):
23 ${'{:<60}'.format('__file__')}: ${conf_file}
26 <% server_main = value.pop('server:main', {}) %>
27
24
28 % for key2, value2 in sorted(server_main.items()):
25 % for key2, value2 in sorted(server_main.items()):
29 ${'{:<60}'.format('server:main')}: ${value2}
26 ${'{:<60}'.format(key2)}: ${value2}
30 % endfor
27 % endfor
31
28
32 % for key2, value2 in sorted(value.items()):
29 % for key2, value2 in sorted(value.items()):
@@ -34,11 +31,19 b' SYSTEM SETTINGS'
34 % endfor
31 % endfor
35
32
36 % else:
33 % else:
34 [${key}]
37 ${value}
35 ${value}
38 % endif
36 % endif
39
37
40 % endfor
38 % endfor
41
39
40 PYTHON PACKAGES
41 ---------------
42
43 % for key, value in c.py_modules['human_value']:
44 ${'{:<60}'.format(key)}: ${value}
45 % endfor
46
42 </pre>
47 </pre>
43
48
44
49
General Comments 0
You need to be logged in to leave comments. Login now