Ignore:
Timestamp:
Oct 29, 2008, 12:44:42 AM (16 years ago)
Author:
price
Message:

eliminate choice of source and cache files in invirt config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-base/python/invirt/config.py

    r1330 r1420  
    77from contextlib import closing
    88
    9 default_src_path   = '/etc/invirt/master.yaml'
    10 default_cache_path = '/var/lib/invirt/cache.json'
    11 lock_path          = '/var/lib/invirt/cache.lock'
     9src_path   = '/etc/invirt/master.yaml'
     10cache_path = '/var/lib/invirt/cache.json'
     11lock_path  = '/var/lib/invirt/cache.lock'
    1212
    13 def load(src_path = default_src_path,
    14          cache_path = default_cache_path,
    15          force_refresh = False):
     13def load(force_refresh = False):
    1614    """
    1715    Try loading the configuration from the faster-to-load JSON cache at
Note: See TracChangeset for help on using the changeset viewer.