~gz/charms/precise/juju-reports/cidata-url

« back to all changes in this revision

Viewing changes to hooks/common.py

  • Committer: Aaron Bentley
  • Date: 2014-08-25 14:38:10 UTC
  • mfrom: (44.1.3 logging-fixes)
  • Revision ID: aaron.bentley@canonical.com-20140825143810-repom78jvajlqjyw
Fix logging, error-email-from setting, make scorecards update daily.

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
    else:
195
195
        t.error_email = ''
196
196
    t.reports_home = PROJECT_DIR
 
197
    t.logs = os.path.join(HOME, 'logs')
197
198
    update_cronjob(str(t))
198
199
 
199
200
 
276
277
        return
277
278
    ini = install_ini(mongo_url, config['gh-token'], config['jujuci-url'],
278
279
                      config['charm-bundle-test-token'],
279
 
                      config['error-email'], ['error-email-from'])
 
280
                      config['error-email'], config['error-email-from'])
280
281
    configure_s3(config)
281
282
    unset = [key for key in [
282
283
        'lp-key', 'lp-oauth', 'gh-token', 'charm-bundle-test-token',