| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/landscape/lib/ |
Upload File : |
ó
}9Rc @ s] d e f d „ ƒ YZ d e f d „ ƒ YZ d „ Z d „ Z d „ Z d „ Z d „ Z d S(
t
SequenceErrorc B s e Z d Z RS( s@ Raised when the sequence isn't proper for translation to ranges.( t __name__t
__module__t __doc__( ( ( s@ /usr/lib/python2.7/dist-packages/landscape/lib/sequenceranges.pyR s t SequenceRangesc B sk e Z d Z d „ Z e d „ ƒ Z e d „ ƒ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d „ Z RS(
sZ High level interface to ranges.
A ranges list represent a sequence of ordered and non-repeating
elements into a more compact format, by representing 3 or more
consecutive entries by a range.
This means that a sequence such as
[1, 2, 4, 5, 6, 8, 10, 11, 12, 14]
becomes
[1, 2, (4, 6), 8, (10, 12), 14]
c C s
g | _ d S( N( t _ranges( t self( ( s@ /usr/lib/python2.7/dist-packages/landscape/lib/sequenceranges.pyt __init__ s c C s | ƒ } t | ƒ | j (| S( N( t sequence_to_rangesR ( t clst sequencet obj( ( s@ /usr/lib/python2.7/dist-packages/landscape/lib/sequenceranges.pyt
from_sequence s c C s | ƒ } | | j (| S( N( R ( R t rangesR ( ( s@ /usr/lib/python2.7/dist-packages/landscape/lib/sequenceranges.pyt from_ranges s
c C s t t | j ƒ ƒ S( N( t listt ranges_to_sequenceR ( R ( ( s@ /usr/lib/python2.7/dist-packages/landscape/lib/sequenceranges.pyt to_sequence&