@staticmethod
    def _wait(func, timeout):

        for n in range(0, timeout*10):
            if func(): return True
            else: time.sleep(0.1)

        return False
Return a list all Python packages found within directory 'where'
dataset/ETHPy150Open rapidsms/rapidsms-core-dev/lib/rapidsms/router.py/Router._wait--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/setuptools-0.6c11/setuptools/__init__.py/find_packages