Mercurial > hg > buttercup
diff buttercup/checkout.py @ 18:151862a0a711
begin restructuring to something more modular and extensible
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 30 May 2011 13:40:13 -0700 |
parents | 5e5af2af69bf |
children | 1f54294629f9 |
line wrap: on
line diff
--- a/buttercup/checkout.py Tue Dec 28 16:52:26 2010 -0800 +++ b/buttercup/checkout.py Mon May 30 13:40:13 2011 -0700 @@ -60,13 +60,13 @@ sys.exit(0) # setup the src directory in a virtualenv - assert 'VIRTUAL_ENV' in os.environ + assert 'VIRTUAL_ENV' in os.environ, "You must have a virtualenv activated" src = os.path.join(os.environ['VIRTUAL_ENV'], 'src') if not os.path.exists(src): os.mkdir(src) os.chdir(src) - # clone othe sources + # clone the sources for source in sources: if os.path.exists(source[0]): if options.update: