[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs