~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to release.py

  • Committer: Benoît Pierre
  • Date: 2008-11-16 17:50:52 UTC
  • mto: This revision was merged to the branch mainline in revision 683.
  • Revision ID: benoit.pierre@gmail.com-20081116175052-8ldrpprvpfq3wscm
Check if STDOUT is a TTY in has_ansi_colors: return False if not.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
from subprocess import call, PIPE
5
5
import sys
6
6
 
7
 
sys.path.insert(0, '/home/abentley/bzrplugins')
 
7
sys.path.insert(0, '..')
8
8
sys.path.insert(0, os.path.dirname(os.path.realpath('/home/abentley/bin/bzr')))
9
9
import bzrtools
10
10
print "bzrtools version: %s" % bzrtools.__version__