Skip to content

Commit

Permalink
Fixing doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Apr 7, 2016
1 parent 1845fc2 commit 46690d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ babel
.coverage
_build
_static
_images
caravel/bin/caravelc
env_py3
.eggs
Expand Down
6 changes: 3 additions & 3 deletions caravel/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ def get(self, s):
>>> cf = ColorFactory()
>>> cf.get('item_1')
'#ff5a5f'
u'#ff5a5f'
>>> cf.get('item_2')
'#7b0051'
u'#7b0051'
>>> cf.get('item_1')
'#ff5a5f'
u'#ff5a5f'
"""
if self.hash_based:
s = s.encode('utf-8')
Expand Down

0 comments on commit 46690d3

Please sign in to comment.