Commit bc5bb8a2 authored by Stefan Marr's avatar Stefan Marr

Fixed use of wrong separator in path splitting routine

Bug introduced in b8d3cc26, which was replacing os.path.split with RPython compatible equivalent
Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent e11926e9
......@@ -178,7 +178,7 @@ class Universe(object):
# take argument of the form "../foo/Test.som" and return
# "../foo", "Test", "som"
def _get_path_class_ext(self, path):
path_and_file = path.rsplit(os.pathsep, 1)
path_and_file = path.rsplit(os.sep, 1)
if len(path_and_file) <= 1:
path = ""
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment