Проверка шаблона шины для 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.

modulePaths.py 203B

10 months ago
10 months ago
10 months ago
12345678910
  1. def modulePaths(name):
  2. parts = name.split("/")
  3. if len(parts) == 2:
  4. return (name, parts[1])
  5. else:
  6. module = name
  7. if name[-1] == "X":
  8. module = name[:-1]
  9. return (name, module)