From: Stephen Soltesz Date: Fri, 14 Aug 2009 19:26:20 +0000 (+0000) Subject: don't butcher ssh public key strings by returning all fields after 1 as part X-Git-Tag: sfa-0.9-1~79 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4f5dac470e1d8c6f7de5d9854fc6a4e2281ec638;p=sfa.git don't butcher ssh public key strings by returning all fields after 1 as part of the value. --- diff --git a/sfa/client/setRecord.py b/sfa/client/setRecord.py index 4c20444c..c7dd78b6 100755 --- a/sfa/client/setRecord.py +++ b/sfa/client/setRecord.py @@ -44,7 +44,7 @@ def editDict(args, recordDict, options): elif vect.count("="): # reassign value - replaceDict({vect.split("=")[0]: returnVal(vect.split("=")[1])}, + replaceDict({vect.split("=")[0]: returnVal("=".join(vect.split("=")[1:]))}, recordDict, options) else: if vect in recordDict: