Ticket #12035: 0001-Fix-typo-in-tmdb3-cache_file.py.patch

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

Patch.

  • mythtv/bindings/python/tmdb3/tmdb3/cache_file.py

    From f6f7cd2990163a7fda961b71b7046e437352be89 Mon Sep 17 00:00:00 2001
    From: Amar Takhar <verm@darkbeer.org>
    Date: Tue, 28 Jan 2014 19:00:44 +0000
    Subject: [PATCH] Fix typo in tmdb3/cache_file.py
    
    errno.EACCESS -> errno.EACCES
    ---
     mythtv/bindings/python/tmdb3/tmdb3/cache_file.py | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/mythtv/bindings/python/tmdb3/tmdb3/cache_file.py b/mythtv/bindings/python/tmdb3/tmdb3/cache_file.py
    index 54a9ca4..512269a 100644
    a b class FileEngine( CacheEngine ): 
    247247                    else:
    248248                        # let the unhandled error continue through
    249249                        raise
    250             elif e.errno == errno.EACCESS:
     250            elif e.errno == errno.EACCES:
    251251                # file exists, but we do not have permission to access it
    252252                raise TMDBCacheReadError(self.cachefile)
    253253            else: