(Steve Dougherty)
2013-07-25: Fix crash on fn-create with --wot. Fix crash on fn-create with --wot. inserted_to returns a list of request URIs, not a single one, so use the first URI.
diff --git a/infocalypse/commands.py b/infocalypse/commands.py
--- a/infocalypse/commands.py
+++ b/infocalypse/commands.py
@@ -106,7 +106,8 @@ def infocalypse_create(ui_, repo, **opts
if inserted_to and opts['wot']:
# TODO: Would it be friendlier to include the nickname as well?
- stored_cfg.set_wot_identity(inserted_to,
+ # creation returns a list of request URIs; use the first.
+ stored_cfg.set_wot_identity(inserted_to[0],
attributes['Identity'])
# TODO: Imports don't go out of scope, right? The variables