Changeset 1420 for trunk/packages/invirt-base/python/invirt
- Timestamp:
- Oct 29, 2008, 12:44:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-base/python/invirt/config.py
r1330 r1420 7 7 from contextlib import closing 8 8 9 default_src_path = '/etc/invirt/master.yaml'10 default_cache_path = '/var/lib/invirt/cache.json'11 lock_path 9 src_path = '/etc/invirt/master.yaml' 10 cache_path = '/var/lib/invirt/cache.json' 11 lock_path = '/var/lib/invirt/cache.lock' 12 12 13 def load(src_path = default_src_path, 14 cache_path = default_cache_path, 15 force_refresh = False): 13 def load(force_refresh = False): 16 14 """ 17 15 Try loading the configuration from the faster-to-load JSON cache at
Note: See TracChangeset
for help on using the changeset viewer.