From e8d315a167332bfead3604cc445a7bbbe673cc1b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 27 Dec 2010 16:36:44 +0100 Subject: [PATCH] Hide the private id from the user. --- sendprofile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sendprofile b/sendprofile index 9beff9c..55b02ba 100644 --- a/sendprofile +++ b/sendprofile @@ -100,6 +100,10 @@ def main(): # If --dump is passed -> only dump the output. if "--dump" in sys.argv: + # Remove the private id when dumping the profile because + # it contains no information and may confuse people. + del profile["private_id"] + print json.dumps(profile, sort_keys=True, indent=4) return 0 -- 2.39.2