Commit 5dfa7e8e authored by yoogx's avatar yoogx

* Conditionnally import packages, to allow for the

          documentation to be built
parent dec02547
......@@ -11,9 +11,13 @@ to load, parse, instantiate AADL models, and to invoke backends.
'''
################################################################################
import libocarina_python; # Ocarina bindings
import ocarina_me_aadl_aadl_instances_nodes as AIN;
import ocarina_me_aadl_aadl_tree_nodes as ATN;
try:
import libocarina_python; # Ocarina bindings
import ocarina_me_aadl_aadl_instances_nodes as AIN;
import ocarina_me_aadl_aadl_tree_nodes as ATN;
except ImportError:
pass
class Enum(tuple): __getattr__ = tuple.index
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment