Browse Source

Prettified XML

Andrea Luzzardi 18 years ago
parent
commit
1a75fcf8c4
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      tools/pamusb-conf

+ 2
- 3
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