Проверка шаблона шины для iOS
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
259B

  1. class Mode:
  2. def __init__(self):
  3. self.reset()
  4. def parseLine(self, line):
  5. if line.startswith("featureToggle:"):
  6. self.reset()
  7. self.isFeatureToggle = True
  8. def reset(self):
  9. self.isFeatureToggle = False