• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

okfn / ckan-service-provider / 64
91%

Build:
DEFAULT BRANCH: master
Ran 17 Oct 2013 09:57PM UTC
Jobs 1
Files 6
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
64

Pull #14

travis-ci

vitorbaptista
Allow user to disable LOG_FILE handler

As we already set the LOG_FILE configuration variable by default, there was no
way for the user to disable having a log file. Even if she tried to do

    LOG_FILE = None

It won't work, because logging.handlers.RotatingFileHandler() throws an error
when called with None. Even if it worked, we still added this handler a few
lines down, because we were checking if there was a LOG_FILE key in the config
file (which is always true, given that we set it by default and there's no way
IMHO to delete it)

With this patch, we only create the file handler if there is a
RotatingFileHandler, and it's trueish.
Pull Request #14: Allow user to disable LOG_FILE handler

416 of 465 relevant lines covered (89.46%)

0.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 64.1 17 Oct 2013 09:57PM UTC 0
89.46
Travis Job 64.1
Source Files on build 64
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #64
  • Pull Request #14
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc