~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/config/__init__.py

  • Committer: Matt Giuca
  • Date: 2009-04-22 02:42:31 UTC
  • Revision ID: matt.giuca@gmail.com-20090422024231-v6v0lrezt37avrxu
setup/install.py: Now uses --prefix to compute the Python site packages path.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
def search_confdir():
40
40
    """
41
 
    Search for the config file, and return the directory it is in.
 
41
    Search for the config file, and return it as a filename.
42
42
    1. Environment var IVLECONF (path to directory)
43
 
    2. /etc/ivle
 
43
    2. /etc/ivle/ivle.conf
44
44
    Raises a ConfigError on error.
45
45
    """
46
46
    if 'IVLECONF' in os.environ: