]> git.lyx.org Git - lyx.git/commitdiff
Fix typos in Python scripts
authorThibaut Cuvelier <tcuvelier@lyx.org>
Mon, 21 Nov 2022 01:13:39 +0000 (02:13 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Thu, 8 Dec 2022 23:11:58 +0000 (00:11 +0100)
development/tools/generate_symbols_list.py
development/tools/unicodesymbols.py

index 5b2963ddab277f761ce94a08547207914378ea30..ccdfe3745444566ae04bdc5718eb426b6c47c97c 100755 (executable)
@@ -44,7 +44,7 @@ def process(file):
     n = len(lines)
     for i in range(n):
         line = lines[i]
-        mo =  re.match(r'\s*%.*', line)
+        mo = re.match(r'\s*%.*', line)
         if mo != None:
             continue
         next_line = ""
index b67364baa1da4c6409e82a88656fdd4299ac3fec..d507f4a6813042fc13d267321de1c0cdc0a2b6b4 100755 (executable)
@@ -1,7 +1,7 @@
 #! /usr/bin/python3
 # -*- coding: utf-8 -*-
 
-# file unciodesymbols.py
+# file unicodesymbols.py
 # This file is part of LyX, the document processor.
 # Licence details can be found in the file COPYING.
 
@@ -16,6 +16,7 @@ from __future__ import print_function
 import os, re, string, sys, unicodedata
 import io
 
+
 def usage(prog_name):
     return ("Usage: %s start stop inputfile outputfile\n" % prog_name +
             "or     %s start stop <inputfile >outputfile" % prog_name)