Skip to content

Commit

Permalink
Aiming at python 3.4 - test
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 20, 2015
1 parent a58d184 commit 4d89663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,7 +1,7 @@
language: python
python:
- "2.7"
- "3.5"
- "3.4"
cache:
directories:
- $HOME/.wheelhouse/
Expand Down
1 change: 1 addition & 0 deletions panoramix/utils.py
Expand Up @@ -113,6 +113,7 @@ def color(s):
"#A14D83", "#4FA3AB", "#4EDED2", "#4EDED2", "#FFCA4F", "#FFC4B3",
"#C9BF97", "#C9BF97", "#898C8C",
]
s = s.encode('utf-8')
h = hashlib.md5(s)
i = int(h.hexdigest(), 16)
return colors[i % len(colors)]
Expand Down

0 comments on commit 4d89663

Please sign in to comment.