~jcsackett/charmworld/bac-tag-constraints

« back to all changes in this revision

Viewing changes to charmworld/jobs/config.py

  • Committer: Aaron Bentley
  • Date: 2013-07-17 21:40:06 UTC
  • mto: This revision was merged to the branch mainline in revision 317.
  • Revision ID: aaron@canonical.com-20130717214006-g0touu8l5l3sh6y3
Fix test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
settings = get_ini()
14
14
 
15
 
if settings['is_testing'].lower() == 'true':
 
15
if settings.get('is_testing', 'false').lower() == 'true':
16
16
    CHARM_DIR = tempfile.mkdtemp()
17
17
    atexit.register(shutil.rmtree, CHARM_DIR, ignore_errors=True)
18
18
else: