Mercurial > kallithea
changeset 4175:e9f6b533a8f6 kallithea-2.2.5-rebrand
Remove wrong/unnecessary/unfixable comment(s)
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:03:41 -0400 |
parents | 5692f4608bdc |
children | cc1ee59e7155 |
files | rhodecode/lib/hooks.py rhodecode/lib/indexers/__init__.py rhodecode/lib/indexers/daemon.py rhodecode/lib/paster_commands/cache_keys.py rhodecode/lib/paster_commands/ishell.py rhodecode/lib/paster_commands/make_index.py rhodecode/lib/paster_commands/make_rcextensions.py rhodecode/lib/paster_commands/repo_scan.py rhodecode/lib/paster_commands/setup_rhodecode.py rhodecode/lib/paster_commands/update_repoinfo.py |
diffstat | 10 files changed, 13 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/lib/hooks.py Wed Jul 02 19:03:30 2014 -0400 +++ b/rhodecode/lib/hooks.py Wed Jul 02 19:03:41 2014 -0400 @@ -214,9 +214,7 @@ def log_create_repository(repository_dict, created_by, **kwargs): """ - Post create repository Hook. This is a dummy function for admins to re-use - if needed. It's taken from rhodecode-extensions module and executed - if present + Post create repository Hook. :param repository: dict dump of repository object :param created_by: username who created repository @@ -261,9 +259,7 @@ def log_create_user(user_dict, created_by, **kwargs): """ - Post create user Hook. This is a dummy function for admins to re-use - if needed. It's taken from rhodecode-extensions module and executed - if present + Post create user Hook. :param user_dict: dict dump of user object @@ -300,9 +296,7 @@ def log_delete_repository(repository_dict, deleted_by, **kwargs): """ - Post delete repository Hook. This is a dummy function for admins to re-use - if needed. It's taken from rhodecode-extensions module and executed - if present + Post delete repository Hook. :param repository: dict dump of repository object :param deleted_by: username who deleted the repository @@ -338,9 +332,7 @@ def log_delete_user(user_dict, deleted_by, **kwargs): """ - Post delete user Hook. This is a dummy function for admins to re-use - if needed. It's taken from rhodecode-extensions module and executed - if present + Post delete user Hook. :param user_dict: dict dump of user object
--- a/rhodecode/lib/indexers/__init__.py Wed Jul 02 19:03:30 2014 -0400 +++ b/rhodecode/lib/indexers/__init__.py Wed Jul 02 19:03:41 2014 -0400 @@ -28,7 +28,7 @@ import logging from os.path import dirname as dn, join as jn -#to get the rhodecode import +# Add location of top level folder to sys.path sys.path.append(dn(dn(dn(os.path.realpath(__file__))))) from whoosh.analysis import RegexTokenizer, LowercaseFilter, StopFilter
--- a/rhodecode/lib/indexers/daemon.py Wed Jul 02 19:03:30 2014 -0400 +++ b/rhodecode/lib/indexers/daemon.py Wed Jul 02 19:03:41 2014 -0400 @@ -36,7 +36,7 @@ from os.path import dirname as dn from os.path import join as jn -#to get the rhodecode import +# Add location of top level folder to sys.path project_path = dn(dn(dn(dn(os.path.realpath(__file__))))) sys.path.append(project_path)
--- a/rhodecode/lib/paster_commands/cache_keys.py Wed Jul 02 19:03:30 2014 -0400 +++ b/rhodecode/lib/paster_commands/cache_keys.py Wed Jul 02 19:03:41 2014 -0400 @@ -34,7 +34,7 @@ from rhodecode.lib.utils import BasePasterCommand from rhodecode.model.db import CacheInvalidation -# fix rhodecode import +# Add location of top level folder to sys.path from os.path import dirname as dn rc_path = dn(dn(dn(os.path.realpath(__file__)))) sys.path.append(rc_path)
--- a/rhodecode/lib/paster_commands/ishell.py Wed Jul 02 19:03:30 2014 -0400 +++ b/rhodecode/lib/paster_commands/ishell.py Wed Jul 02 19:03:41 2014 -0400 @@ -31,7 +31,7 @@ from rhodecode.lib.utils import BasePasterCommand -# fix rhodecode import +# Add location of top level folder to sys.path from os.path import dirname as dn rc_path = dn(dn(dn(os.path.realpath(__file__)))) sys.path.append(rc_path)
--- a/rhodecode/lib/paster_commands/make_index.py Wed Jul 02 19:03:30 2014 -0400 +++ b/rhodecode/lib/paster_commands/make_index.py Wed Jul 02 19:03:41 2014 -0400 @@ -36,7 +36,7 @@ from rhodecode.model.repo import RepoModel from rhodecode.lib.utils import BasePasterCommand, load_rcextensions -# fix rhodecode import +# Add location of top level folder to sys.path from os.path import dirname as dn rc_path = dn(dn(dn(os.path.realpath(__file__)))) sys.path.append(rc_path)
--- a/rhodecode/lib/paster_commands/make_rcextensions.py Wed Jul 02 19:03:30 2014 -0400 +++ b/rhodecode/lib/paster_commands/make_rcextensions.py Wed Jul 02 19:03:41 2014 -0400 @@ -33,7 +33,7 @@ from rhodecode.lib.utils import BasePasterCommand, ask_ok -# fix rhodecode import +# Add location of top level folder to sys.path from os.path import dirname as dn rc_path = dn(dn(dn(os.path.realpath(__file__)))) sys.path.append(rc_path)
--- a/rhodecode/lib/paster_commands/repo_scan.py Wed Jul 02 19:03:30 2014 -0400 +++ b/rhodecode/lib/paster_commands/repo_scan.py Wed Jul 02 19:03:41 2014 -0400 @@ -32,7 +32,7 @@ from rhodecode.model.scm import ScmModel from rhodecode.lib.utils import BasePasterCommand, repo2db_mapper -# fix rhodecode import +# Add location of top level folder to sys.path from os.path import dirname as dn rc_path = dn(dn(dn(os.path.realpath(__file__)))) sys.path.append(rc_path)
--- a/rhodecode/lib/paster_commands/setup_rhodecode.py Wed Jul 02 19:03:30 2014 -0400 +++ b/rhodecode/lib/paster_commands/setup_rhodecode.py Wed Jul 02 19:03:41 2014 -0400 @@ -4,7 +4,7 @@ from paste.script.command import BadCommand from paste.deploy import appconfig -# fix rhodecode import +# Add location of top level folder to sys.path from os.path import dirname as dn rc_path = dn(dn(dn(os.path.realpath(__file__)))) sys.path.append(rc_path)
--- a/rhodecode/lib/paster_commands/update_repoinfo.py Wed Jul 02 19:03:30 2014 -0400 +++ b/rhodecode/lib/paster_commands/update_repoinfo.py Wed Jul 02 19:03:41 2014 -0400 @@ -35,7 +35,7 @@ from rhodecode.model.repo import RepoModel from rhodecode.model.meta import Session -# fix rhodecode import +# Add location of top level folder to sys.path from os.path import dirname as dn rc_path = dn(dn(dn(os.path.realpath(__file__)))) sys.path.append(rc_path)