Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Import helpers after the major constatns to avoid circ imports.

  • Loading branch information...
commit e1cb50c23d6e164f4dcc5b4adc1327c005bd2948 1 parent d3e2cca
Marek authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 codegen.py
5 codegen.py
View
@@ -7,8 +7,6 @@
sys.path.append(os.path.join("vendor", "rabbitmq-codegen"))
from amqp_codegen import *
-import codegen_helpers
-
AMQP_ACCEPTED_BY_UPDATE_JSON="amqp-accepted-by-update.json"
BANNED_CLASSES=['access', 'tx']
@@ -21,6 +19,9 @@
'known_hosts': '',
}
+import codegen_helpers
+
+
def pyize(*args):
a = ' '.join(args).replace('-', '_').replace(' ', '_')
if a == 'global': a+= '_'
Please sign in to comment.
Something went wrong with that request. Please try again.