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

sirosen / SALVE / 191 / 6
100%
stable: 100%

Build:
Build:
LAST BUILD BRANCH: wip/refactor/2-3-0-cleanup
DEFAULT BRANCH: stable
Ran 21 Oct 2015 03:33AM UTC
Files 71
Run time 1s
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

21 Oct 2015 03:30AM UTC coverage: 100.0%. Remained the same
191.6

push

travis-ci

sirosen
Special casing for Python 2.6 logging

The Python2.6 StreamHandler initializer has a different signature from the one
used in Python2.7 and Python3.x
Namely, rather than using a keyword arg, it uses an optional positional
argument for the Stream, and it defaults when the argument is omitted, not when
it is `None`. Although I'm unsure of the behavior of the logger on 2.6 when the
argument is supplied as None, I'd expect it to break. Per the documentation,
this is the only correct/safe way to set the stream for Python 2.6

In Python 2.6, the NullHandler was not part of the standard logging library. As
a result, we must wrap references to the NullHandler in salve.log.handler and
explicitly define a NullHandler when we get an AttributeError doing so (which
indicates that the logging module doesn't have an attribute named
'NullHanlder').

Fixes a typo of "'DEBUG'" instead of "logging.DEBUG"

1386 of 1386 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 191.6
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 191
  • Travis Job 191.6
  • 17f10e11 on github
  • Prev Job for on bugfix/logging-python-vers (#172.6)
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

© 2026 Coveralls, Inc