[tbb-commits] [fpcentral/master] Bug 32018: Remove unicode character U+00A0 in run.py

gk at torproject.org gk at torproject.org
Thu Oct 10 08:08:10 UTC 2019


commit aee05b9a67d1127920b07de65598b4302e2d88d5
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Wed Oct 9 17:00:48 2019 +0200

    Bug 32018: Remove unicode character U+00A0 in run.py
    
    We replace the unicode character 'NO-BREAK SPACE' (U+00A0) with ascii
    white space.
---
 run.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/run.py b/run.py
index 0e0d758..5c325cc 100755
--- a/run.py
+++ b/run.py
@@ -14,7 +14,7 @@ import hashlib
 import sys
 
 
-###### App
+###### App
 app = Flask(__name__)
 app.debug = config.debug
 
@@ -101,14 +101,14 @@ def about():
 def store():
     return json.dumps(db.storeFP(request.data,True))
 
-###### Babel
+###### Babel
 babel = Babel(app)
 
 @babel.localeselector
 def get_locale():
     return request.accept_languages.best_match(config.LANGUAGES.keys())
 
-###### DB
+###### DB
 class Db(object):
 
     def __init__(self):
@@ -299,7 +299,7 @@ class Db(object):
 db = Db()
 
 
-###### API
+###### API
 def jsonResponse(func):
     @wraps(func)
     def wrapper(*args, **kwargs):



More information about the tbb-commits mailing list