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/b/c/bcfg2-HEAD/tools/hostbase.py   bcfg2(Download)
 
try:
    host = Host.objects.get(hostname=hosttouse)
except:
    print("Error: host %s not in hostbase" % hosttouse)

src/b/c/bcfg2-old-HEAD/tools/hostbase.py   bcfg2-old(Download)
 
try:
    host = Host.objects.get(hostname=hosttouse)
except:
    print("Error: host %s not in hostbase" % hosttouse)