diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-06-09 12:27:45 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-06-09 12:27:45 +0100 |
commit | 19ec7d0a82fb62a74582be54c3dfa8512583311b (patch) | |
tree | 87bcc1c8e2973dc502ffcf49286a9aa1438a3789 | |
parent | 9cf6fd9972755d6de621b82aa6d87a5d27dbca82 (diff) | |
download | rabbitmq-server-19ec7d0a82fb62a74582be54c3dfa8512583311b.tar.gz |
spaces instead of tabs in autogenerated code
-rw-r--r-- | codegen.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -110,9 +110,9 @@ def multiLineFormat(things, prologue, separator, lineSeparator, epilogue, things def prettyType(typeName, subTypes, typesPerLine = 4): """Pretty print a type signature made up of many alternative subtypes""" sTs = multiLineFormat(subTypes, - "( ", " | ", "\n\t| ", " )", + "( ", " | ", "\n | ", " )", thingsPerLine = typesPerLine) - return "-type(%s ::\n\t%s)." % (typeName, sTs) + return "-type(%s ::\n %s)." % (typeName, sTs) def printFileHeader(): print """%% Autogenerated code. Do not edit. |