[tor-bugs] #32018 [Applications/Quality Assurance and Testing]: Remove unicode Character 'NO-BREAK SPACE' (U+00A0) from fp-central/run.py

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 9 14:57:54 UTC 2019


#32018: Remove unicode Character 'NO-BREAK SPACE' (U+00A0) from fp-central/run.py
-------------------------------------+-------------------------------------
     Reporter:  boklm                |      Owner:  boklm
         Type:  defect               |     Status:  assigned
     Priority:  Medium               |  Milestone:
    Component:                       |    Version:
  Applications/Quality Assurance     |
  and Testing                        |   Keywords:  fpcentral,
     Severity:  Normal               |  TorBrowserTeam201910, boklm201910
Actual Points:                       |  Parent ID:
       Points:  0.1                  |   Reviewer:
      Sponsor:                       |
-------------------------------------+-------------------------------------
 When running `run.py` with python2 instead of python3, I noticed that it
 gets confused by the use of Non-ASCII characters:
 {{{
 SyntaxError: Non-ASCII character '\xc2' in file
 /srv/fpcentral.tbb.torproject.org/fpcentral/run.py on line 302, but no
 encoding declared; see http://python.org/dev/peps/pep-0263/ for details
 }}}

 As we don't really need those special characters, I think we can replace
 them with ascii whitespaces.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32018>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list