commit | 0bc84ff25d5f28dc1ef3ade6c66be82ae24f227c | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Sun Nov 10 17:33:17 2013 -0800 |
committer | Rich Lane <rlane@bigswitch.com> | Sun Nov 10 17:33:17 2013 -0800 |
tree | 963ccd54bac4e4fe99a0e9be25b167ca1432b2d9 | |
parent | da5446ffd8ea12c72437be7fb96a4d1ee1247b9c [diff] |
java: simplify backend init
diff --git a/java_gen/codegen.py b/java_gen/codegen.py index 6c589c9..f349f9e 100644 --- a/java_gen/codegen.py +++ b/java_gen/codegen.py
@@ -44,9 +44,7 @@ import java_gen.java_model as java_model -def gen_all_java(out, name): - # close the virtual file - we don't need it - out.close() +def gen_all_java(): basedir= '%s/openflowj' % of_g.options.install_dir print "Outputting to %s" % basedir if os.path.exists(basedir):