Show More
@@ -74,7 +74,9 b' class _pycompatstub(object):' | |||
|
74 | 74 | |
|
75 | 75 | def _registeraliases(self, origin, items): |
|
76 | 76 | """Add items that will be populated at the first access""" |
|
77 | self._aliases.update((item.replace('_', '').lower(), (origin, item)) | |
|
77 | items = map(sysstr, items) | |
|
78 | self._aliases.update( | |
|
79 | (item.replace(sysstr('_'), sysstr('')).lower(), (origin, item)) | |
|
78 | 80 |
|
|
79 | 81 | |
|
80 | 82 | def __getattr__(self, name): |
General Comments 0
You need to be logged in to leave comments.
Login now