FIX: broke fn-genkey
diff --git a/infocalypse/sitecmds.py b/infocalypse/sitecmds.py
--- a/infocalypse/sitecmds.py
+++ b/infocalypse/sitecmds.py
@@ -189,6 +189,6 @@ def genkeypair(fcphost, fcpport):
def execute_genkey(ui_, params):
""" Run the genkey command. """
insert, request = genkeypair(params['FCP_HOST'], params['FCP_PORT'])
- ui_.status(MSG_FMT % (resp[1]['InsertURI'], resp[1]['RequestURI'],
- resp[1]['InsertURI'].split('/')[0] +'/',
- "U" + resp[1]['InsertURI'].split('/')[0][1:] +'/NAME.R1/0'))
+ ui_.status(MSG_FMT % (insert, request,
+ insert.split('/')[0] +'/',
+ "U" + insert.split('/')[0][1:] +'/NAME.R1/0'))