diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-18 05:22:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-18 05:22:31 +0400 |
commit | b867f9f17eb1af2051749190aa6aee708972af82 (patch) | |
tree | 95b1ba6bb8a7584823caa7e4943ee0ee4c1d4b48 /release/scripts/modules/addon_utils.py | |
parent | 8b57f7502bb748a3acd01858c393cdac5675fcf0 (diff) |
style cleanup: comments & spelling
Diffstat (limited to 'release/scripts/modules/addon_utils.py')
-rw-r--r-- | release/scripts/modules/addon_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/addon_utils.py b/release/scripts/modules/addon_utils.py index 7e604c5de4c..6bf81d73f8b 100644 --- a/release/scripts/modules/addon_utils.py +++ b/release/scripts/modules/addon_utils.py @@ -232,7 +232,6 @@ def enable(module_name, default_set=True, persistent=False): import os import sys - import imp def handle_error(): import traceback @@ -246,6 +245,7 @@ def enable(module_name, default_set=True, persistent=False): mtime_orig = getattr(mod, "__time__", 0) mtime_new = os.path.getmtime(mod.__file__) if mtime_orig != mtime_new: + import imp print("module changed on disk:", mod.__file__, "reloading...") try: |