diff options
Diffstat (limited to 'tools/accounts2xml.py')
-rwxr-xr-x | tools/accounts2xml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/accounts2xml.py b/tools/accounts2xml.py index 46d38aca9..749f3b68c 100755 --- a/tools/accounts2xml.py +++ b/tools/accounts2xml.py @@ -71,7 +71,7 @@ def main(args): with file(filename, 'w') as modified: modified.write("name:pass:uid:gid:gecos:home:shell\n" + data); modified.close() safe_filename = "Properties" except IndexError: - print "ERROR: Please provide a filename.csv as the first argument" + print("ERROR: Please provide a filename.csv as the first argument") sys.exit() node_user = "UnixUser" @@ -108,7 +108,7 @@ def main(args): output_file = "accounts.xml" doc.writexml(open(output_file, 'w'), addindent=' ', newl='\n') # Write file - print "Done: Created %s" % output_file + print("Done: Created %s" % output_file) os.remove(filename) def get_extra_group_str(group_str, p_group): |