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

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
Wrapper for Carbon calls inspired by subprocess.check_call(): a negative
rc will generate a RuntimeError with a [hopefully] informative message.

        def carbon_call(f, *args):
    """
    Wrapper for Carbon calls inspired by subprocess.check_call(): a negative
    rc will generate a RuntimeError with a [hopefully] informative message.
    """
    rc = f(*args)
    return carbon_errcheck(rc, f, args)
        


src/p/y/PyMacAdmin-1.0/bin/delete-certificate.py   PyMacAdmin(Download)
#!/usr/bin/env python2.5
 
from PyMacAdmin import carbon_call, load_carbon_framework
from PyMacAdmin.Security import kSecCertificateItemClass
from PyMacAdmin.Security.Keychain import SecKeychainAttribute, SecKeychainAttributeList

src/p/y/pymacadmin-HEAD/bin/delete-certificate.py   pymacadmin(Download)
#!/usr/bin/env python2.5
 
from PyMacAdmin import carbon_call, load_carbon_framework
from PyMacAdmin.Security import kSecCertificateItemClass
from PyMacAdmin.Security.Keychain import SecKeychainAttribute, SecKeychainAttributeList