commit 0a810de898d97ff02bae10c3081d986fa5699119
parent 8cfa32db5c4bc74cd535cecb8ca29bb5c97e9bb3
Author: ThomasV <thomasv@gitorious>
Date: Mon, 8 Sep 2014 19:46:24 +0200
add get_type method to PendingAccount
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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']