infocalypse
 
(Steve Dougherty)
2013-06-24: Look up pull truster - don't require public key hash.

Look up pull truster - don't require public key hash.

diff --git a/infocalypse/commands.py b/infocalypse/commands.py
--- a/infocalypse/commands.py
+++ b/infocalypse/commands.py
@@ -183,7 +183,8 @@ def infocalypse_pull(ui_, repo, **opts):
     elif opts['wot']:
         import wot
         if opts['truster']:
-            truster = opts['truster']
+            local_id = wot.resolve_local_identity(ui_, opts['truster'])
+            truster = local_id['Identity']
         else :
             truster = stored_cfg.get_wot_identity(
                 stored_cfg.get_dir_insert_uri(repo.root))