python: scripting: Port ntstatus and werror generators to Python 3 compatible form.
[sfrench/samba-autobuild/.git] / source4 / scripting / bin / gen_error_common.py
index a55baea..ab86c4d 100644 (file)
@@ -77,6 +77,6 @@ def parseErrorDescriptions( file_contents, isWinError, transformErrorFunction ):
                         else:
                             err.err_string = err.err_string + " " + desc
             count = count + 1
-    print "parsed %d lines generated %d error definitions"%(count,len(errors))
+    print("parsed %d lines generated %d error definitions"%(count,len(errors)))
     return errors