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

xolox / python-deb-pkg-tools / 182 / 4
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: master
Ran 01 Feb 2017 03:05PM UTC
Files 14
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

01 Feb 2017 03:01PM UTC coverage: 92.59% (+0.07%) from 92.522%
182.4

push

travis-ci

xolox
Bug fix: Swallow unpickling errors instead of propagating them

In general I am very much opposed to Python code that swallows
exceptions when it doesn't know how to handle them, because it can
inadvertently obscure an issue's root cause and/or exacerbate the
issue.

But caching deserves an exception. Any code that exists solely as an
optimization should not raise exceptions caused by the caching logic.
This should avoid the following traceback which I just ran into:

Traceback (most recent call last):
  File ".../lib/python2.7/site-packages/deb_pkg_tools/cli.py", line 382, in with_repository_wrapper
    with_repository(directory, *command, cache=cache)
  File ".../lib/python2.7/site-packages/deb_pkg_tools/repo.py", line 366, in with_repository
    cache=kw.get('cache'))
  File ".../lib/python2.7/site-packages/deb_pkg_tools/repo.py", line 228, in update_repository
    cache=cache)
  File ".../lib/python2.7/site-packages/deb_pkg_tools/repo.py", line 91, in scan_packages
    fields = dict(inspect_package_fields(archive, cache=cache))
  File ".../lib/python2.7/site-packages/deb_pkg_tools/package.py", line 480, in inspect_package_fields
    value = entry.get_value()
  File ".../lib/python2.7/site-packages/deb_pkg_tools/cache.py", line 268, in get_value
    from_fs = pickle.load(handle)
ValueError: unsupported pickle protocol: 3

1262 of 1363 relevant lines covered (92.59%)

0.93 hits per line

Source Files on job 182.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 182
  • Travis Job 182.4
  • 2f9d5e2b on github
  • Prev Job for on dev (#180.4)
  • Next Job for on dev (#184.4)
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