Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/python/stylesheet/convert_styles.py (renamed from tools/python/convert_styles.py)7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/python/convert_styles.py b/tools/python/stylesheet/convert_styles.py
index 226bebb0f7..88c159b8cb 100644
--- a/tools/python/convert_styles.py
+++ b/tools/python/stylesheet/convert_styles.py
@@ -14,7 +14,7 @@ i = 0
for l in lns:
if not isCaption:
i = l.find(" caption ")
- if i <> -1:
+ if i != -1:
isCaption = True
captionLns = []
leadSpaces = l[0:i + 1]
@@ -22,13 +22,13 @@ for l in lns:
newlns.append(leadSpaces + " primary {")
else:
i = l.find(" path_text ")
- if i <> -1:
+ if i != -1:
isCaption = True
captionLns = []
leadSpaces = l[0:i + 1]
newlns.append(l)
newlns.append(leadSpaces + " primary {")
- else:
+ else:
newlns.append(l)
else:
if l[i + 1] == "}":
@@ -49,4 +49,3 @@ for l in lns:
for i in newlns:
print i
-