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

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

src/p/y/pymacadmin-HEAD/bin/keychain-delete.py   pymacadmin(Download)
        keychain = Keychain(options.keychain)
        item = keychain.find_generic_password(
            service_name=options.service,
            account_name=options.account
        )

src/p/y/PyMacAdmin-1.0/bin/keychain-delete.py   PyMacAdmin(Download)
        keychain = Keychain(options.keychain)
        item = keychain.find_generic_password(
            service_name=options.service,
            account_name=options.account
        )

src/p/y/pymacadmin-HEAD/bin/airport-update.py   pymacadmin(Download)
 
    try:
        item = keychain.find_generic_password(account_name=ssid)
        if item.password != new_password:
            item.update_password(new_password)

src/p/y/PyMacAdmin-1.0/bin/airport-update.py   PyMacAdmin(Download)
 
    try:
        item = keychain.find_generic_password(account_name=ssid)
        if item.password != new_password:
            item.update_password(new_password)

src/p/y/pymacadmin-HEAD/lib/PyMacAdmin/Security/tests/test_Keychain.py   pymacadmin(Download)
    def test_find_airport_password(self):
        system_keychain = Keychain("/Library/Keychains/System.keychain")
        try:
            system_keychain.find_generic_password(account_name="linksys")
        except KeyError:

src/l/u/LuggagePackages-HEAD/CrankdInstaller/PyMacAdmin/Security/tests/test_Keychain.py   LuggagePackages(Download)
    def test_find_airport_password(self):
        system_keychain = Keychain("/Library/Keychains/System.keychain")
        try:
            system_keychain.find_generic_password(account_name="linksys")
        except KeyError: