Проверка шаблона шины для iOS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- from Mode import *
-
- def parseLines(lines, structure):
- mode = Mode()
- for line in lines:
- # Определяем режим строки.
- mode.parseLine(line)
- ln = line.strip()
-
- # Игнорируем пустую строку.
- if len(ln) == 0:
- continue
-
- # Игнорируем комментарий.
- if ln.startswith("#"):
- continue
-
- # featureToggle.
- if mode.isFeatureToggle:
- structure.featureToggle.parseLine(ln)
|