Skip to content
Browse files

add jenkins bluff to logging

  • Loading branch information...
1 parent c67eeef commit 3b40d596ec4e3cb07dd084e34ef8aab7a03beb94 @jamesturk jamesturk committed Oct 2, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 billy/ext/ansistrm.py
View
3 billy/ext/ansistrm.py
@@ -41,6 +41,9 @@ class ColorizingStreamHandler(logging.StreamHandler):
@property
def is_tty(self):
+ # bluff for Jenkins
+ if os.environ.get('JENKINS_URL'):
+ return True
isatty = getattr(self.stream, 'isatty', None)
return isatty and isatty()

0 comments on commit 3b40d59

Please sign in to comment.
Something went wrong with that request. Please try again.