commit | aecd7163f3c230f788a8df53d91d997450566ec4 | [log] [tgz] |
---|---|---|
author | Rich Lane <rich.lane@bigswitch.com> | Fri Jan 11 11:33:00 2013 -0800 |
committer | Rich Lane <rich.lane@bigswitch.com> | Fri Jan 11 11:33:00 2013 -0800 |
tree | c8d4cbd6b9832b8fb951735f9806cb61a4492f79 | |
parent | 63393495124c77d79b2319d96550a8bc3ab6e35b [diff] [blame] |
of10: simplify importing
diff --git a/src/python/of10/__init__.py b/src/python/of10/__init__.py index c4407ee..2810be8 100644 --- a/src/python/of10/__init__.py +++ b/src/python/of10/__init__.py
@@ -6,3 +6,11 @@ """ __all__ = ["action_list", "action", "cstruct", "error", "message", "parse"] + +# Allow accessing constants through the top-level module +from cstruct import * + +# Allow accessing submodules without additional imports +import action +import message +import parse