diff options
author | Amar Takhar <amar@rtems.org> | 2015-06-12 09:46:49 -0400 |
---|---|---|
committer | Amar Takhar <amar@rtems.org> | 2015-06-12 09:46:49 -0400 |
commit | eb8fc93e30da520aa27ca9c40c4741a7a06258ed (patch) | |
tree | 0be2e7a93474e399dd5368f5c6add462fb049371 | |
parent | 817817895e2c4075ae79f1be75290464a15cb857 (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" +} + |