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

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

src/k/n/kninfra-HEAD/utils/restore-from-old.py   kninfra(Download)
    print ' execute'
    for r in plan_remove:
        Es.rcol.remove({'_id': r})
    for k,v in plan_changes.iteritems():
        Es.rcol.update({'_id': k}, {'$set': {'until': v[0]}})

src/k/n/kninfra-HEAD/utils/shell.py   kninfra(Download)
    how = Es.ecol.find_one({'sofa_suffix': how})['_id'] \
            if how is not None else None
    Es.rcol.remove({'who': who,
            'with': _with,
            'how': how})