diff pylons_app/model/hg_model.py @ 473:6b934c9607e7 celery

Improved testing scenarios. Made test env creator Fixed hg_model error message some other tweeks and fixes Models fixe for uniq email, and removed some extra not needed imports from model main module
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 13 Sep 2010 01:23:58 +0200
parents c3236d7febad
children fdebc5f67dc6
line wrap: on
line diff
--- a/pylons_app/model/hg_model.py	Sun Sep 12 22:42:03 2010 +0200
+++ b/pylons_app/model/hg_model.py	Mon Sep 13 01:23:58 2010 +0200
@@ -102,7 +102,7 @@
             if repos_path[0] != '/':
                 repos_path[0] = '/'
             if not os.path.isdir(os.path.join(*repos_path)):
-                raise RepositoryError('Not a valid repository in %s' % path[0][1])        
+                raise RepositoryError('Not a valid repository in %s' % path)        
         if not repos_path.endswith('*'):
             raise VCSError('You need to specify * or ** at the end of path '
                             'for recursive scanning')