Mercurial > kallithea
diff pylons_app/model/hg_model.py @ 195:7109d15c6813
cleared prints leftoovers, and changed current user fetching in login controller
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 22 May 2010 16:07:28 +0200 |
parents | 36102488d634 |
children | f7dadd356c79 |
line wrap: on
line diff
--- a/pylons_app/model/hg_model.py Sat May 22 02:20:26 2010 +0200 +++ b/pylons_app/model/hg_model.py Sat May 22 16:07:28 2010 +0200 @@ -12,10 +12,11 @@ import os from pylons import tmpl_context as c, app_globals as g, session, request, config from pylons.controllers.util import abort +import sys try: from vcs.backends.hg import get_repositories, MercurialRepository except ImportError: - print 'You have to import vcs module' + sys.stderr.write('You have to import vcs module') raise Exception('Unable to import vcs') class HgModel(object):