Fix a bug where code was trying to index an int. Left over from the situation
commit79532fffa7c23a01b2e34a6d4c1a407192286de4
authorbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 27 Feb 2009 03:38:28 +0000 (27 03:38 +0000)
committerbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Fri, 27 Feb 2009 03:38:28 +0000 (27 03:38 +0000)
tree7299871cc4946b4cb71704ce8220929fc03ebfb7
parentaa9ddb0d0e7d6c7ff87b4ca9ba8452a73425b839
Fix a bug where code was trying to index an int. Left over from the situation
from using str.rpartition to str.rindex.

Closes Issue5213.

git-svn-id: http://svn.python.org/projects/python/trunk@70011 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/importlib/__init__.py
Lib/test/test_importlib.py