Pipelines now have a __len__() method. #309

Merged
merged 1 commit into from Jan 7, 2013

Projects

None yet

2 participants

@jparise
Contributor
jparise commented Jan 7, 2013

The length of a pipeline is defined as the length of its command
stack. This makes it easy to inspect the number of batched commands
and to write conditional logic for empty pipelines.

@jparise jparise Pipelines now have a __len__() method.
The length of a pipeline is defined as the length of its command
stack.  This makes it easy to inspect the number of batched commands
and to write conditional logic for empty pipelines.
5827683
@andymccurdy
Owner

Looks good. Thanks!

@andymccurdy andymccurdy merged commit 35c474b into andymccurdy:master Jan 7, 2013

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment