Skip to content

Commit

Permalink
Merge pull request #25 from tacaswell/pep8_bikeshed
Browse files Browse the repository at this point in the history
PEP: whitespace
  • Loading branch information
WeatherGod committed Nov 16, 2015
2 parents 99e92d5 + 6608747 commit 78f477d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cycler.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,18 +446,18 @@ def concat(left, right):
"""
if left.keys != right.keys:
msg = '\n\t'.join(["Keys do not match:",
"Intersection: {both!r}",
"Disjoint: {just_one!r}"
]).format(
both=left.keys&right.keys,
just_one=left.keys^right.keys)
"Intersection: {both!r}",
"Disjoint: {just_one!r}"]).format(
both=left.keys & right.keys,
just_one=left.keys ^ right.keys)

raise ValueError(msg)

_l = left._transpose()
_r = right._transpose()
return reduce(add, (_cycler(k, _l[k] + _r[k]) for k in left.keys))


def cycler(*args, **kwargs):
"""
Create a new `Cycler` object from a single positional argument,
Expand Down

0 comments on commit 78f477d

Please sign in to comment.