add get_type method to PendingAccount

This commit is contained in:
ThomasV 2014-09-08 19:46:24 +02:00
parent 8cfa32db5c
commit 0a810de898
1 changed files with 3 additions and 0 deletions

View File

@ -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']