Skip to content

Commit

Permalink
Fixing force_compile option so that compile.py works correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
bendmorris committed Mar 15, 2012
1 parent 6031993 commit 5b8754e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ def MODULE_LIST(force_compile=False):
and ((not isfile(join(search_path, file[:-7] + '.py'))) or
(isfile(join(search_path, file[:-7] + '.py')) and
(getmtime(join(search_path, file[:-7] + '.py')) <
getmtime(join(search_path, file)))
or force_compile)
)]
getmtime(join(search_path, file))))
or force_compile)
]
for script in to_compile:
script_name = '.'.join(script.split('.')[:-1])
compile_script(join(search_path, script_name))
Expand Down

0 comments on commit 5b8754e

Please sign in to comment.