Show More
@@ -74,7 +74,9 b' class _pycompatstub(object):' | |||||
74 |
|
74 | |||
75 | def _registeraliases(self, origin, items): |
|
75 | def _registeraliases(self, origin, items): | |
76 | """Add items that will be populated at the first access""" |
|
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 | for item in items) | |
79 |
|
81 | |||
80 | def __getattr__(self, name): |
|
82 | def __getattr__(self, name): |
General Comments 0
You need to be logged in to leave comments.
Login now