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
|
||||
Vlad Dragos
|
||||
Volodymyr Piskun
|
||||
Wei Lin
|
||||
Wil Cooley
|
||||
William Lee
|
||||
Wim Glenn
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Fix incorrect result of ``getmodpath`` method.
|
|
@ -285,8 +285,7 @@ class PyobjMixin(PyobjContext):
|
|||
break
|
||||
parts.append(name)
|
||||
parts.reverse()
|
||||
s = ".".join(parts)
|
||||
return s.replace(".[", "[")
|
||||
return ".".join(parts)
|
||||
|
||||
def reportinfo(self):
|
||||
# XXX caching?
|
||||
|
|
Loading…
Reference in New Issue