Changes between Version 1 and Version 2 of Ticket #34341, comment 1
- Timestamp:
- Feb 15, 2023, 1:44:27 PM (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34341, comment 1
v1 v2 3 3 {{{ 4 4 if prefix: 5 if os.path.commonpath([path, prefix]) == '':5 if not os.path.commonpath([path, prefix]): 6 6 return None 7 7 path = os.path.relpath(path, prefix)