From 733fc9bbf840108dd1aa905b59bc6a8c5b1d8926 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 29 Jun 2014 17:54:37 -0400 Subject: [PATCH] Fix case where Mayan is not running from a Git clone --- mayan/apps/installation/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/installation/models.py b/mayan/apps/installation/models.py index fbc54379f6..f53a3bd57a 100644 --- a/mayan/apps/installation/models.py +++ b/mayan/apps/installation/models.py @@ -114,7 +114,7 @@ class Installation(Singleton): try: repo = Repo(os.path.abspath(os.path.join(settings.BASE_DIR, '..'))) except: - namespace.add_property(Property('is_git_repo', _(u'Running from a Git repository'), False)) + namespace.add_property('is_git_repo', _(u'Running from a Git repository'), False) else: repo.config_reader() headcommit = repo.head.commit