mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
Fix typos in Python scripts
This commit is contained in:
parent
4e7f6949bf
commit
126f516efc
@ -44,7 +44,7 @@ def process(file):
|
|||||||
n = len(lines)
|
n = len(lines)
|
||||||
for i in range(n):
|
for i in range(n):
|
||||||
line = lines[i]
|
line = lines[i]
|
||||||
mo = re.match(r'\s*%.*', line)
|
mo = re.match(r'\s*%.*', line)
|
||||||
if mo != None:
|
if mo != None:
|
||||||
continue
|
continue
|
||||||
next_line = ""
|
next_line = ""
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#! /usr/bin/python3
|
#! /usr/bin/python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# file unciodesymbols.py
|
# file unicodesymbols.py
|
||||||
# This file is part of LyX, the document processor.
|
# This file is part of LyX, the document processor.
|
||||||
# Licence details can be found in the file COPYING.
|
# 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 os, re, string, sys, unicodedata
|
||||||
import io
|
import io
|
||||||
|
|
||||||
|
|
||||||
def usage(prog_name):
|
def usage(prog_name):
|
||||||
return ("Usage: %s start stop inputfile outputfile\n" % prog_name +
|
return ("Usage: %s start stop inputfile outputfile\n" % prog_name +
|
||||||
"or %s start stop <inputfile >outputfile" % prog_name)
|
"or %s start stop <inputfile >outputfile" % prog_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user