Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/m/o/modrana-HEAD/core/requirements.py   modrana(Download)
    the device was offline and the Internet connection is just being established)"""
    status = modrana.dmod.connectivityStatus
    if status is constants.CONNECTIVITY_UNKNOWN: # Connectivity status monitoring not supported
        return status # skip
    elif status is constants.ONLINE:
                # the thread was cancelled
                print("requirements: connectivity status check cancelled")
                status = constants.CONNECTIVITY_UNKNOWN

src/m/o/modrana-HEAD/modules/mod_route/mod_route.py   modrana(Download)
    def _geocodeStartAndDestination(self):
        """Get the address of start and destination coordinates by using geocoding"""
        onlineModule = self.m.get('onlineServices', None)
        connectivity = (self.modrana.dmod.connectivityStatus in (constants.ONLINE, constants.CONNECTIVITY_UNKNOWN))
        if connectivity and onlineModule:

src/m/o/modrana-HEAD/modules/device_modules/device_n900.py   modrana(Download)
        #iap_id = event.get_iap_id()
        #bearer = event.get_bearer_type()
        status = constants.CONNECTIVITY_UNKNOWN
        if conic_status == conic.STATUS_CONNECTED:
            status = constants.ONLINE