diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-15 15:05:55 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-15 15:05:55 -0400 |
commit | 30fc9f2e1e8f5e59fa98d9e9df6263da88b9eaed (patch) | |
tree | 0c2c0d40e9e893d7a28f3dfcc7d5ebc3e81185a3 /tools/accounts2xml.py | |
parent | de4940d9f39c51d68623eba9c99cc0a56deb9428 (diff) | |
download | bcfg2-30fc9f2e1e8f5e59fa98d9e9df6263da88b9eaed.tar.gz bcfg2-30fc9f2e1e8f5e59fa98d9e9df6263da88b9eaed.tar.bz2 bcfg2-30fc9f2e1e8f5e59fa98d9e9df6263da88b9eaed.zip |
removed print statements
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 de41c6107..0f7624f7d 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" @@ -107,7 +107,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 create_col_nodes(cols, item, doc, row): |