Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Remove STRING_DICT_UNARY references #47

Merged
merged 1 commit into from
Jun 1, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion skydoc/build.proto
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ message Attribute {
BOOLEAN = 14; // int, bool and string value
TRISTATE = 15; // tristate, int and string value
INTEGER_LIST = 16; // int_list_value
STRING_DICT_UNARY = 17; // string_dict_unary_value
UNKNOWN = 18; // unknown type, use only for build extensions
LABEL_DICT_UNARY = 19; // label_dict_unary_value
SELECTOR_LIST = 20; // selector_list
NAME = 21; // name, use only for the name attribute

// Deprecated.
DEPRECATED_STRING_DICT_UNARY = 17;
}
}

Expand Down
2 changes: 0 additions & 2 deletions skydoc/rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ def _get_type_str(self, proto):
type_str = 'Tristate'
elif proto.type == build_pb2.Attribute.INTEGER_LIST:
type_str = 'List of integers'
elif proto.type == build_pb2.Attribute.STRING_DICT_UNARY:
type_str = 'String Dict Unary'
elif proto.type == build_pb2.Attribute.LABEL_DICT_UNARY:
type_str = 'Label Dict Unary'
elif proto.type == build_pb2.Attribute.SELECTOR_LIST:
Expand Down