Opened 6 years ago

Closed 6 years ago

#12035 closed Patch - Bug Fix (Fixed)

Fix typo in tmdb3/cache_file.py

Reported by: Amar Takhar <verm@…> Owned by: Raymond Wagner
Priority: minor Milestone: 0.27.1
Component: Contributed Scripts & Apps Version: Master Head
Severity: medium Keywords: tmdb3, python, bindings
Cc: Ticket locked: no

Description

I hit this error when fixing this to work in the OS X bundle. (which I have working just fine!)

Attachments (1)

0001-Fix-typo-in-tmdb3-cache_file.py.patch (1020 bytes) - added by Amar Takhar <verm@…> 6 years ago.
Patch.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Amar Takhar <verm@…>

Patch.

comment:1 Changed 6 years ago by Raymond Wagner

Status: newaccepted

comment:2 Changed 6 years ago by Raymond Wagner

I'll get this committed when I get home tonight, however note that this would not cause the grabber to fail, but merely result in a less accurate error to be returned when it does fail.

comment:3 in reply to:  2 Changed 6 years ago by Amar Takhar <verm@…>

Replying to wagnerrp:

I'll get this committed when I get home tonight, however note that this would not cause the grabber to fail, but merely result in a less accurate error to be returned when it does fail.

Actually, it did cause the grabber to fail because the attribute does not exist:

  AttributeError: 'module' object has no attribute 'EACCESS'

It passes through because it's except IOError above instead of just except.

comment:4 Changed 6 years ago by Raymond Wagner

The grabber had already failed by the time it tried to execute that line.

comment:5 Changed 6 years ago by Raymond Wagner

Component: Bindings - PythonContributed Scripts & Apps
Milestone: unknown0.27.1
Resolution: Fixed
Status: acceptedclosed

Changes merged in from upstream at 1dd851f772da9eb1 and 6b353625177a4dd6.

Note: See TracTickets for help on using tickets.