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

dwaynebailey / pootle / 765
51%
master: 95%

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

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.

5591 of 10957 relevant lines covered (51.03%)

1.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 765.1 (DJANGO_VERSION=1.7.10 DATABASE_BACKEND=sqlite) 01 Dec 2015 01:20PM UTC 0
50.94
Travis Job 765.1
2 765.2 (DJANGO_VERSION=1.7.10 DATABASE_BACKEND=postgres) 01 Dec 2015 01:21PM UTC 0
50.96
Travis Job 765.2
3 765.3 (DJANGO_VERSION=1.7.10 DATABASE_BACKEND=mysql_innodb) 01 Dec 2015 01:20PM UTC 0
50.98
Travis Job 765.3
Source Files on build 765
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #765
  • 6c25cd36 on github
  • Prev Build on cleanup/get-None (#764)
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