�
wN�Qc@sdZddlZd�ZdS(sDNS GENERATE range conversion.i����NcCsLddl}d}d}d}x�|D]�}|dkr^|dkr^t|�}d}d}q%|dkr�t|�}d}d }q%|j�r�||7}q%tjjd
|��q%W|dkr�tjj�n|dkr�t|�}n|d kr t|�}n|dkst�|dks-t�||ks?t�|||fS(
s�Convert the text form of a range in a GENERATE statement to an
integer.
@param text: the textual range
@type text: string
@return: The start, stop and step values.
@rtype: tuple
i����Nitit-it/isCould not parse %si(ii(tpdbtinttisdigittdnst exceptiontSyntaxErrortAssertionError(ttextRtsteptcurtstatetctstarttstop((s0/usr/lib64/python2.7/site-packages/dns/grange.pyt from_texts4
(t__doc__RR(((s0/usr/lib64/python2.7/site-packages/dns/grange.pyt<module>s |