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

voxpupuli / pypuppetdb / 164 / 2
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 21 Apr 2016 12:30AM UTC
Files 6
Run time 0s
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 Apr 2016 12:30AM UTC coverage: 0.0%. First build
164.2

Pull #69

travis-ci

corey.hammerton
pypuppetdb/api/__init__.py: User suggested optimization with optional Report and Catalog attributes

Replacing the Try Except block around the Report code_id, catalog_uuid and
cached_catalog_status attributes with dictionary get(). As per documentation,
https://docs.python.org/2/library/stdtypes.html#dict.get:
Return the value for key if key is in the dictionary, else default. If default is not given, it defaults to None, so that this method never raises a KeyError.

Adding the same change for the Catalog code_id and catalog_uuid attributes.
Pull Request #69:

0 of 473 relevant lines covered (0.0%)

0.0 hits per line

Source Files on job 164.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 164
  • Travis Job 164.2
  • 832dcfdf on github
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