Fix another SVN unicode problem.

Review Request #6326 — Created Sept. 15, 2014 and submitted

Information

Review Board
release-2.0.x
ca0b5cf...

Reviewers

When there's a file-not-found error with unicode paths in SVN, we were trying
to format the encoded string into a unicode string to create the error message.
This caused a UnicodeDecodeError when it tried to coerce it using the 'ascii'
codec. I've changed the FileNotFoundError.__init__ method to cope with paths
which are bytes as well as paths which are unicode.

Ran unit tests.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/scmtools/errors.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/scmtools/errors.py
    
    
  2. 
      
chipx86
  1. Ship It!

  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (813a01e)
Loading...