diff options
author | Rafael Ortiz <dirakx@gmail.com> | 2011-02-25 21:40:07 (GMT) |
---|---|---|
committer | Rafael Ortiz <dirakx@gmail.com> | 2011-02-25 21:40:07 (GMT) |
commit | 0c8e687ce284d7599b9bfb7c578b0fc7fb32c493 (patch) | |
tree | 0de859c2cc0fb5850e6d87daf2407d61d40c00e3 /TamTamJam.activity/common/Util/Clooper/__init__.py | |
parent | bc9dd5c653e667d19c88092160b0f664e08ae7d8 (diff) |
fixing simlimking build error
Diffstat (limited to 'TamTamJam.activity/common/Util/Clooper/__init__.py')
-rw-r--r-- | TamTamJam.activity/common/Util/Clooper/__init__.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/TamTamJam.activity/common/Util/Clooper/__init__.py b/TamTamJam.activity/common/Util/Clooper/__init__.py new file mode 100644 index 0000000..363fc88 --- /dev/null +++ b/TamTamJam.activity/common/Util/Clooper/__init__.py @@ -0,0 +1,21 @@ +import os +import sys +import logging + +_sys_path = sys.path +_root_path = os.path.dirname(__file__) + +for i in os.listdir(_root_path): + path = os.path.join(_root_path, i) + if (os.path.isdir(path)): + sys.path = _sys_path + [os.path.join('.', path)] + try: + from aclient import * + logging.debug('use %s blobs' % path) + _sys_path = None + break + except Exception, e: + logging.debug('skip %s blobs: %s' % (path, e)) + +if _sys_path: + raise('cannot find proper binary blobs') |