Fix incorrect result of getmodpath method.
This commit is contained in:
parent
3a668ea6ff
commit
329f56ecec
1
AUTHORS
1
AUTHORS
|
@ -261,6 +261,7 @@ Virgil Dupras
|
||||||
Vitaly Lashmanov
|
Vitaly Lashmanov
|
||||||
Vlad Dragos
|
Vlad Dragos
|
||||||
Volodymyr Piskun
|
Volodymyr Piskun
|
||||||
|
Wei Lin
|
||||||
Wil Cooley
|
Wil Cooley
|
||||||
William Lee
|
William Lee
|
||||||
Wim Glenn
|
Wim Glenn
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Fix incorrect result of ``getmodpath`` method.
|
|
@ -285,8 +285,7 @@ class PyobjMixin(PyobjContext):
|
||||||
break
|
break
|
||||||
parts.append(name)
|
parts.append(name)
|
||||||
parts.reverse()
|
parts.reverse()
|
||||||
s = ".".join(parts)
|
return ".".join(parts)
|
||||||
return s.replace(".[", "[")
|
|
||||||
|
|
||||||
def reportinfo(self):
|
def reportinfo(self):
|
||||||
# XXX caching?
|
# XXX caching?
|
||||||
|
|
Loading…
Reference in New Issue