1from ..backend import KeyringBackend 2 3 4class Keyring(KeyringBackend): 5 """ 6 Keyring that return None on every operation. 7 8 >>> kr = Keyring() 9 >>> kr.get_password('svc', 'user') 10 """ 11 12 priority = -1 13 14 def get_password(self, service, username, password=None): 15 pass 16 17 set_password = delete_password = get_password 18