changeset 1573:22273bec00ba rhodecode-0.0.1.2.2

disabled error messages in get_current_revision for stable branch
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 17 Oct 2011 01:49:10 +0200
parents 5498f86ba217
children c3b8a2513d4a
files rhodecode/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/__init__.py	Mon Oct 17 01:48:36 2011 +0200
+++ b/rhodecode/__init__.py	Mon Oct 17 01:49:10 2011 +0200
@@ -36,7 +36,7 @@
 
 try:
     from rhodecode.lib import get_current_revision
-    _rev = get_current_revision()
+    _rev = get_current_revision(quiet=True)
 except ImportError:
     #this is needed when doing some setup.py operations
     _rev = False