##// 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 10 % endif
11 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 13 SYSTEM SETTINGS
21 14 ---------------
22 15
23 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 22 [${key}]
25 % if isinstance(value, dict):
26 <% server_main = value.pop('server:main', {}) %>
23 ${'{:<60}'.format('__file__')}: ${conf_file}
27 24
28 25 % for key2, value2 in sorted(server_main.items()):
29 ${'{:<60}'.format('server:main')}: ${value2}
26 ${'{:<60}'.format(key2)}: ${value2}
30 27 % endfor
31 28
32 29 % for key2, value2 in sorted(value.items()):
@@ -34,11 +31,19 b' SYSTEM SETTINGS'
34 31 % endfor
35 32
36 33 % else:
34 [${key}]
37 35 ${value}
38 36 % endif
39 37
40 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 47 </pre>
43 48
44 49
General Comments 0
You need to be logged in to leave comments. Login now