changeset 3231:b5a5a60608a7 beta

be blunt about that error message to not confuse people
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 26 Jan 2013 22:15:40 +0100
parents bda2bd2558b1
children 99c093d1a142
files rhodecode/lib/__init__.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/__init__.py	Sat Jan 26 22:08:16 2013 +0100
+++ b/rhodecode/lib/__init__.py	Sat Jan 26 22:15:40 2013 +0100
@@ -19,6 +19,7 @@
         return (tip.revision, tip.short_id)
     except Exception, err:
         if not quiet:
-            print ("Cannot retrieve rhodecode's revision. Original error "
-                   "was: %s" % err)
+            print ("WARNING: Cannot retrieve rhodecode's revision. "
+                   "disregard this if you don't know what that means. "
+                   "Original error was: %s" % err)
         return None