diff options
author | Amar Takhar <amar@rtems.org> | 2015-06-12 09:46:49 -0400 |
---|---|---|
committer | Amar Takhar <amar@rtems.org> | 2015-12-11 15:16:23 -0500 |
commit | ef9430a00409502489825c7b67a09a9a5fb5cd55 (patch) | |
tree | 2e7f2ca7e252d747a2f290e226ccd0aecc5cf9fb | |
parent | a3e4cae131c0e85ce2cc8ac9578b6fc8803f66a2 (diff) |
Move tag_map -> tag.py to solve circular dependency.
-rw-r--r-- | py/config/__init__.py | 12 | ||||
-rw-r--r-- | py/config/options.py | 2 | ||||
-rw-r--r-- | py/config/tag.py | 7 |
3 files changed, 10 insertions, 11 deletions
diff --git a/py/config/__init__.py b/py/config/__init__.py index a9cd46181e..ed60bd20e8 100644 --- a/py/config/__init__.py +++ b/py/config/__init__.py @@ -1,14 +1,6 @@ from .base import BuildConfig, Config, Default, Feature, Disable - -tag_map = { - "general": "General settings", - "build": "Build options", - "network": "Network option", - "storage": "Storage option" -} - - - +from .options import Option, Boolean, String, StringList, Integer +from .tag import tag_map class RTEMSConfig(object): diff --git a/py/config/options.py b/py/config/options.py index 602b0de5c9..921d043268 100644 --- a/py/config/options.py +++ b/py/config/options.py @@ -1,4 +1,4 @@ -from .__init__ import tag_map +from .tag import tag_map from textwrap import TextWrapper wrapper = TextWrapper() diff --git a/py/config/tag.py b/py/config/tag.py new file mode 100644 index 0000000000..2f7d3f1a44 --- /dev/null +++ b/py/config/tag.py @@ -0,0 +1,7 @@ +tag_map = { + "general": "General settings", + "build": "Build options", + "network": "Network option", + "storage": "Storage option" +} + |