From d6433e8350776dd8826c4d7b6de1d91eb5dcaca8 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Tue, 20 Mar 2007 23:46:32 +0000 Subject: [PATCH] Prettified XML --- pam_usb/tools/pamusb-conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pam_usb/tools/pamusb-conf b/pam_usb/tools/pamusb-conf index 43fc400..405206f 100755 --- a/pam_usb/tools/pamusb-conf +++ b/pam_usb/tools/pamusb-conf @@ -99,9 +99,8 @@ def shouldSave(options, items): sys.exit(1) def prettifyElement(element): - return element -# tmp = minidom.parseString(element.toprettyxml()) -# return tmp.lastChild + tmp = minidom.parseString(element.toprettyxml()) + return tmp.lastChild def addUser(options): print 'adding user %s' % options['userName']