EVOLUTION-MANAGER
Edit File: blocks.cpython-36.pyc
3 "e � @ s@ d dl mZ d dl mZ ddlmZ d dlZG dd� de�ZdS )� )�print_function)�unicode_literals� )�ViewNc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) � BlocksViewzh Assign ``blocks`` with this list [ { "title": "...", "content": "some text", }, ... ] c C sb x\t | jj�D ]L\}}|d rd|kr4| j|d � | j|d dd� | j|�r| jd� qW d S )N�content�title� )�end)� enumerate�args�blocks�print�next)�self�index�block� r �/usr/lib/python3.6/blocks.py�render s zBlocksView.renderc C s. x(| j j|d d� D ]}|d rdS qW dS )z<Return True if there is any nonempty block after given indexr Nr TF)r r )r r r r r r r s zBlocksView.nextc C s>