From 0a810de898d97ff02bae10c3081d986fa5699119 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 8 Sep 2014 19:46:24 +0200 Subject: [PATCH] add get_type method to PendingAccount --- lib/account.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/account.py b/lib/account.py index 9a9d86ed..85e0885d 100644 --- a/lib/account.py +++ b/lib/account.py @@ -95,6 +95,9 @@ class PendingAccount(Account): def get_master_pubkeys(self): return [] + def get_type(self): + return _('pending') + class ImportedAccount(Account): def __init__(self, d): self.keypairs = d['imported']