Show More
@@ -47,7 +47,7 b' def _elide(string, *, min_elide=30):' | |||||
47 | return '{}.{}\N{HORIZONTAL ELLIPSIS}{}.{}'.format(object_parts[0], object_parts[1][0], object_parts[-2][-1], object_parts[-1]) |
|
47 | return '{}.{}\N{HORIZONTAL ELLIPSIS}{}.{}'.format(object_parts[0], object_parts[1][0], object_parts[-2][-1], object_parts[-1]) | |
48 |
|
48 | |||
49 | elif len(file_parts) > 3: |
|
49 | elif len(file_parts) > 3: | |
50 |
return '{} |
|
50 | return ('{}' + os.sep + '{}\N{HORIZONTAL ELLIPSIS}{}' + os.sep + '{}').format(file_parts[0], file_parts[1][0], file_parts[-2][-1], file_parts[-1]) | |
51 |
|
51 | |||
52 | return string |
|
52 | return string | |
53 |
|
53 |
General Comments 0
You need to be logged in to leave comments.
Login now