Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Import helpers after the major constatns to avoid circ imports.

  • Loading branch information...
commit e1cb50c23d6e164f4dcc5b4adc1327c005bd2948 1 parent d3e2cca
Marek authored November 22, 2010

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  codegen.py
5  codegen.py
@@ -7,8 +7,6 @@
7 7
 sys.path.append(os.path.join("vendor", "rabbitmq-codegen"))
8 8
 from amqp_codegen import *
9 9
 
10  
-import codegen_helpers
11  
-
12 10
 AMQP_ACCEPTED_BY_UPDATE_JSON="amqp-accepted-by-update.json"
13 11
 
14 12
 BANNED_CLASSES=['access', 'tx']
@@ -21,6 +19,9 @@
21 19
     'known_hosts': '',
22 20
 }
23 21
 
  22
+import codegen_helpers
  23
+
  24
+
24 25
 def pyize(*args):
25 26
     a = ' '.join(args).replace('-', '_').replace(' ', '_')
26 27
     if a == 'global': a+= '_'

0 notes on commit e1cb50c

Please sign in to comment.
Something went wrong with that request. Please try again.