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

dwaynebailey / pootle / 765 / 1
51%
master: 95%

Build:
Build:
LAST BUILD BRANCH: cleanup/argparse_update_tmserver
DEFAULT BRANCH: master
Ran 01 Dec 2015 01:20PM UTC
Files 219
Run time 6s
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

01 Dec 2015 01:11PM UTC coverage: 50.945%. Remained the same
DJANGO_VERSION=1.7.10 DATABASE_BACKEND=sqlite

push

travis-ci

dwaynebailey
Cleanup: if conditions following failed .get()

.get() by default will return None if the key is not found in the
dictionary.

Thus if the following does not find the key then x == None.

x = dict.get('something', None)

This requires any conditional to test against None as follows:
if x is not None:

But in place in the code we're doing:
if x:

This correct that and simplifies some conditionals if needed.

5582 of 10957 relevant lines covered (50.94%)

0.51 hits per line

Source Files on job 765.1 (DJANGO_VERSION=1.7.10 DATABASE_BACKEND=sqlite)
  • Tree
  • List 0
  • Changed 20
  • Source Changed 20
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 765
  • Travis Job 765.1
  • 6c25cd36 on github
  • Prev Job for DJANGO_VERSION=1.7.10 DATABASE_BACKEND=sqlite on cleanup/get-None (#764.1)
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