diff options
author | sylvain thenault <sylvain.thenault@logilab.fr> | 2009-03-26 13:58:05 +0100 |
---|---|---|
committer | sylvain thenault <sylvain.thenault@logilab.fr> | 2009-03-26 13:58:05 +0100 |
commit | 6e987b45144638b7930276d785f4be08ba5b4aa0 (patch) | |
tree | cbd506b7d764c7260ad0267037c75d8c504b0ac0 /modutils.py | |
parent | c2a5246e7ab73d27e496cfde70f6892820898009 (diff) | |
download | logilab-common-6e987b45144638b7930276d785f4be08ba5b4aa0.tar.gz |
missing dot
Diffstat (limited to 'modutils.py')
-rw-r--r-- | modutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils.py b/modutils.py index 5253916..4dff4a3 100644 --- a/modutils.py +++ b/modutils.py @@ -622,7 +622,7 @@ def _has_init(directory): else return None """ mod_or_pack = join(directory, '__init__') - for ext in PY_SOURCE_EXTS + ('.pyc', '.pyo'): + for ext in PY_SOURCE_EXTS + ('pyc', 'pyo'): if exists(mod_or_pack + '.' + ext): - return mod_or_pack + ext + return mod_or_pack + '.' + ext return None |