Github user mxmrlv commented on a diff in the pull request:
https://github.com/apache/incubator-ariatosca/pull/109#discussion_r113681303
--- Diff: aria/cli/color.py ---
@@ -70,29 +70,26 @@ class Color(object):
'style': dict(_get_colors(Style))
}
- class Schema(object):
- def __init__(self, fore=None, back=None, style=None):
- """
- It is possible to provide fore, back and style arguments. each
could be either
- the color is lower case letter, or the actual color from
colorama.
- """
- self._kwargs = dict(fore=fore, back=back, style=style)
- self._str = StringIO()
- for type_, colors in Color._colors.items():
- value = self._kwargs.get(type_, None)
- # the former case is if the value is a string, the latter
is in case of an object.
- self._str.write(colors.get(value) or value)
+class Schema(object):
--- End diff --
ColorSpec
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---