Changeset 11800
- Timestamp:
- 23 Sep 2014, 15:53:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py
r11575 r11800 93 93 } 94 94 95 # A list of phone prefixes (order num, country, prefix). 96 # Items with same order num will be sorted alphabetically. 97 # The lower the order num, the higher the precedence. 98 INT_PHONE_PREFIXES = [ 99 (99, _('Germany'), '49'), 100 ( 1, _('Nigeria'), '234'), 101 (99, _('U.S.'), '1'), 102 ] 103 95 104 #: A function to return 96 105 @classmethod … … 187 196 'Postgraduate Full-Time':('pg_ft',), 188 197 'Postgraduate Part-Time':('pg_pt',), 198 } 199 200 #: Set positive number for allowed max, negative for required min 201 #: avail. 202 #: 203 #: Use integer for bytes value, float for percent 204 #: value. `cpu-load`, of course, accepts float values only. 205 #: `swap-mem` = Swap Memory, `virt-mem` = Virtual Memory, 206 #: `phys-mem` = Physical Memory, `cpu-load` = CPU load in percent. 207 SYSTEM_MAX_LOAD = { 208 'swap-mem': None, 209 'virt-mem': None, 210 'phys-mem': None, 211 'cpu-load': 100.0, 189 212 } 190 213
Note: See TracChangeset for help on using the changeset viewer.