Show More
@@ -74,8 +74,10 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)) | |
|
78 | for item in items) | |
|
77 | items = map(sysstr, items) | |
|
78 | self._aliases.update( | |
|
79 | (item.replace(sysstr('_'), sysstr('')).lower(), (origin, item)) | |
|
80 | for item in items) | |
|
79 | 81 | |
|
80 | 82 | def __getattr__(self, name): |
|
81 | 83 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now