Browse Source

Prettified XML

master
Andrea Luzzardi 17 years ago
parent
commit
d6433e8350
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      pam_usb/tools/pamusb-conf

+ 2
- 3
pam_usb/tools/pamusb-conf View File

@ -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']


Loading…
Cancel
Save