def process_todo_query(raw_query): if raw_query == "#": tagview.generate_view() else: itemview.generate_view(raw_query)
def process_todo_query(raw_query): (tag_view_preferred, entered_tag, parse_info) = tagview.get_tag_state(raw_query) if tag_view_preferred: tagview.generate_view(raw_query, entered_tag, parse_info) else: itemview.generate_view(raw_query, parse_info)