diff options
author | Marko Kreen | 2011-11-04 11:59:14 +0000 |
---|---|---|
committer | Marko Kreen | 2011-11-04 11:59:14 +0000 |
commit | b313b88013f8427f2dacb160e5bc84895793e4cb (patch) | |
tree | 565853b4d5ed700e80e7f3a8dec3ee08c6799af6 | |
parent | 4b39ca088cc253c53ce4a9902a5ecd6aae28fea6 (diff) |
skytools.sqltools: tolerate missing installer_config
-rw-r--r-- | python/skytools/sqltools.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/skytools/sqltools.py b/python/skytools/sqltools.py index 67715efa..a6a7d9dc 100644 --- a/python/skytools/sqltools.py +++ b/python/skytools/sqltools.py @@ -4,7 +4,7 @@ import os from cStringIO import StringIO import skytools -import skytools.installer_config + try: import plpy except ImportError: @@ -524,6 +524,7 @@ def installer_find_file(filename): if os.path.isfile(filename): full_fn = filename else: + import skytools.installer_config dir_list = skytools.installer_config.sql_locations for fdir in dir_list: fn = os.path.join(fdir, filename) |