util:plugin: modnames() should only list *.py or *.pyc files.
authorW. Trevor King <wking@tremily.us>
Tue, 28 Aug 2012 00:52:52 +0000 (20:52 -0400)
committerW. Trevor King <wking@tremily.us>
Tue, 28 Aug 2012 00:52:52 +0000 (20:52 -0400)
commitf8abe6aa77c0bc80f899cbec24cdedb297f28844
tree2d91c3fc4e94672a131ac51f9f8e2ec1bcfa1b46
parent3f29c1f8b3fac340aa7a4f0bf1abd3a0a241a61a
util:plugin: modnames() should only list *.py or *.pyc files.

By appending '.py' to *everything*, it was listing '__pycache__' for
Python 3.
libbe/util/plugin.py