changeset 4089:a5888ca796b5

Fixed spelling of get's to gets
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 16 Jul 2013 21:54:28 +0200
parents 7c73f1868318
children 7676606f7622
files rhodecode/bin/template.ini.mako rhodecode/config/deployment.ini_tmpl rhodecode/config/post_receive_tmpl.py rhodecode/config/pre_receive_tmpl.py rhodecode/config/rcextensions/__init__.py rhodecode/controllers/summary.py rhodecode/lib/auth.py rhodecode/lib/base.py rhodecode/lib/diffs.py rhodecode/lib/middleware/simplegit.py rhodecode/lib/middleware/simplehg.py rhodecode/lib/vcs/backends/git/changeset.py rhodecode/lib/vcs/backends/git/repository.py rhodecode/lib/vcs/backends/hg/changeset.py rhodecode/lib/vcs/backends/hg/repository.py rhodecode/model/__init__.py rhodecode/model/comment.py rhodecode/model/repo.py rhodecode/model/repos_group.py rhodecode/model/scm.py rhodecode/public/js/native.history.js rhodecode/tests/functional/test_changeset_comments.py rhodecode/tests/models/test_permissions.py
diffstat 23 files changed, 30 insertions(+), 30 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/bin/template.ini.mako	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/bin/template.ini.mako	Tue Jul 16 21:54:28 2013 +0200
@@ -67,7 +67,7 @@
 <%text>## recommended for bigger setup is using of of other than sync one</%text>
 worker_class = sync
 max_requests = 1000
-<%text>## ammount of time a worker can handle request before it get's killed and</%text>
+<%text>## ammount of time a worker can handle request before it gets killed and</%text>
 <%text>## restarted</%text>
 timeout = 3600
 %endif
--- a/rhodecode/config/deployment.ini_tmpl	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/config/deployment.ini_tmpl	Tue Jul 16 21:54:28 2013 +0200
@@ -59,7 +59,7 @@
 ## recommended for bigger setup is using of of other than sync one
 #worker_class = sync
 #max_requests = 5
-## ammount of time a worker can handle request before it get's killed and
+## ammount of time a worker can handle request before it gets killed and
 ## restarted
 #timeout = 3600
 
--- a/rhodecode/config/post_receive_tmpl.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/config/post_receive_tmpl.py	Tue Jul 16 21:54:28 2013 +0200
@@ -22,7 +22,7 @@
     push_data = sys.stdin.readlines()
     # os.environ is modified here by a subprocess call that
     # runs git and later git executes this hook.
-    # Environ get's some additional info from rhodecode system
+    # Environ gets some additional info from rhodecode system
     # like IP or username from basic-auth
     handle_git_post_receive(repo_path, push_data, os.environ)
     sys.exit(0)
--- a/rhodecode/config/pre_receive_tmpl.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/config/pre_receive_tmpl.py	Tue Jul 16 21:54:28 2013 +0200
@@ -22,7 +22,7 @@
     push_data = sys.stdin.readlines()
     # os.environ is modified here by a subprocess call that
     # runs git and later git executes this hook.
-    # Environ get's some additional info from rhodecode system
+    # Environ gets some additional info from rhodecode system
     # like IP or username from basic-auth
     handle_git_pre_receive(repo_path, push_data, os.environ)
     sys.exit(0)
--- a/rhodecode/config/rcextensions/__init__.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/config/rcextensions/__init__.py	Tue Jul 16 21:54:28 2013 +0200
@@ -22,7 +22,7 @@
 INDEX_EXTENSIONS = []
 
 # additional extensions for indexing besides the default from pygments
-# those get's added to INDEX_EXTENSIONS
+# those gets added to INDEX_EXTENSIONS
 EXTRA_INDEX_EXTENSIONS = []
 
 
--- a/rhodecode/controllers/summary.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/controllers/summary.py	Tue Jul 16 21:54:28 2013 +0200
@@ -97,7 +97,7 @@
             readme_file = None
             log.debug('Looking for README file')
             try:
-                # get's the landing revision! or tip if fails
+                # gets the landing revision! or tip if fails
                 cs = db_repo.get_landing_changeset()
                 if isinstance(cs, EmptyChangeset):
                     raise EmptyRepositoryError()
--- a/rhodecode/lib/auth.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/lib/auth.py	Tue Jul 16 21:54:28 2013 +0200
@@ -279,7 +279,7 @@
 
 def get_container_username(environ, config, clean_username=False):
     """
-    Get's the container_auth username (or email). It tries to get username
+    Gets the container_auth username (or email). It tries to get username
     from REMOTE_USER if container_auth_enabled is enabled, if that fails
     it tries to get username from HTTP_X_FORWARDED_USER if proxypass_auth_enabled
     is enabled. clean_username extracts the username from this data if it's
--- a/rhodecode/lib/base.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/lib/base.py	Tue Jul 16 21:54:28 2013 +0200
@@ -124,7 +124,7 @@
 
     def _get_by_id(self, repo_name):
         """
-        Get's a special pattern _<ID> from clone url and tries to replace it
+        Gets a special pattern _<ID> from clone url and tries to replace it
         with a repository_name for support of _<ID> non changable urls
 
         :param repo_name:
--- a/rhodecode/lib/diffs.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/lib/diffs.py	Tue Jul 16 21:54:28 2013 +0200
@@ -243,7 +243,7 @@
 
         self.cur_diff_size += len(string)
 
-        # escaper get's iterated on each .next() call and it checks if each
+        # escaper gets iterated on each .next() call and it checks if each
         # parsed line doesn't exceed the diff limit
         if self.diff_limit is not None and self.cur_diff_size > self.diff_limit:
             raise DiffLimitExceeded('Diff Limit Exceeded')
--- a/rhodecode/lib/middleware/simplegit.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/lib/middleware/simplegit.py	Tue Jul 16 21:54:28 2013 +0200
@@ -70,7 +70,7 @@
   'git-receive-pack': dulserver.ReceivePackHandler,
 }
 
-# not used for now until dulwich get's fixed
+# not used for now until dulwich gets fixed
 #from dulwich.repo import Repo
 #from dulwich.web import make_wsgi_chain
 
@@ -264,7 +264,7 @@
 
     def __get_repository(self, environ):
         """
-        Get's repository name out of PATH_INFO header
+        Gets repository name out of PATH_INFO header
 
         :param environ: environ where PATH_INFO is stored
         """
--- a/rhodecode/lib/middleware/simplehg.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/lib/middleware/simplehg.py	Tue Jul 16 21:54:28 2013 +0200
@@ -218,7 +218,7 @@
 
     def __get_repository(self, environ):
         """
-        Get's repository name out of PATH_INFO header
+        Gets repository name out of PATH_INFO header
 
         :param environ: environ where PATH_INFO is stored
         """
--- a/rhodecode/lib/vcs/backends/git/changeset.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/lib/vcs/backends/git/changeset.py	Tue Jul 16 21:54:28 2013 +0200
@@ -470,7 +470,7 @@
     @LazyProperty
     def affected_files(self):
         """
-        Get's a fast accessible file changes for given changeset
+        Gets a fast accessible file changes for given changeset
         """
         added, modified, deleted = self._changes_cache
         return list(added.union(modified).union(deleted))
--- a/rhodecode/lib/vcs/backends/git/repository.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/lib/vcs/backends/git/repository.py	Tue Jul 16 21:54:28 2013 +0200
@@ -435,7 +435,7 @@
     @LazyProperty
     def bookmarks(self):
         """
-        Get's bookmarks for this repository
+        Gets bookmarks for this repository
         """
         return {}
 
--- a/rhodecode/lib/vcs/backends/hg/changeset.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/lib/vcs/backends/hg/changeset.py	Tue Jul 16 21:54:28 2013 +0200
@@ -355,7 +355,7 @@
     @LazyProperty
     def affected_files(self):
         """
-        Get's a fast accessible file changes for given changeset
+        Gets a fast accessible file changes for given changeset
         """
         return self._ctx.files()
 
--- a/rhodecode/lib/vcs/backends/hg/repository.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/lib/vcs/backends/hg/repository.py	Tue Jul 16 21:54:28 2013 +0200
@@ -113,7 +113,7 @@
 
     def _get_branches(self, normal=True, closed=False):
         """
-        Get's branches for this repository
+        Gets branches for this repository
         Returns only not closed branches by default
 
         :param closed: return also closed branches for mercurial
@@ -155,7 +155,7 @@
     @LazyProperty
     def tags(self):
         """
-        Get's tags for this repository
+        Gets tags for this repository
         """
         return self._get_tags()
 
@@ -234,7 +234,7 @@
     @LazyProperty
     def bookmarks(self):
         """
-        Get's bookmarks for this repository
+        Gets bookmarks for this repository
         """
         return self._get_bookmarks()
 
@@ -411,7 +411,7 @@
 
     def _get_revision(self, revision):
         """
-        Get's an ID revision given as str. This will always return a fill
+        Gets an ID revision given as str. This will always return a fill
         40 char revision number
 
         :param revision: str or int or None
--- a/rhodecode/model/__init__.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/model/__init__.py	Tue Jul 16 21:54:28 2013 +0200
@@ -79,7 +79,7 @@
 
     def _get_instance(self, cls, instance, callback=None):
         """
-        Get's instance of given cls using some simple lookup mechanism.
+        Gets instance of given cls using some simple lookup mechanism.
 
         :param cls: class to fetch
         :param instance: int or Instance
--- a/rhodecode/model/comment.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/model/comment.py	Tue Jul 16 21:54:28 2013 +0200
@@ -240,7 +240,7 @@
 
     def get_comments(self, repo_id, revision=None, pull_request=None):
         """
-        Get's main comments based on revision or pull_request_id
+        Gets main comments based on revision or pull_request_id
 
         :param repo_id:
         :param revision:
--- a/rhodecode/model/repo.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/model/repo.py	Tue Jul 16 21:54:28 2013 +0200
@@ -83,7 +83,7 @@
     @LazyProperty
     def repos_path(self):
         """
-        Get's the repositories root path from database
+        Gets the repositories root path from database
         """
 
         q = self.sa.query(RhodeCodeUi).filter(RhodeCodeUi.ui_key == '/').one()
@@ -112,7 +112,7 @@
 
     def get_all_user_repos(self, user):
         """
-        Get's all repositories that user have at least read access
+        Gets all repositories that user have at least read access
 
         :param user:
         """
@@ -250,7 +250,7 @@
 
     def _get_defaults(self, repo_name):
         """
-        Get's information about repository, and returns a dict for
+        Gets information about repository, and returns a dict for
         usage in forms
 
         :param repo_name:
--- a/rhodecode/model/repos_group.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/model/repos_group.py	Tue Jul 16 21:54:28 2013 +0200
@@ -53,7 +53,7 @@
     @LazyProperty
     def repos_path(self):
         """
-        Get's the repositories root path from database
+        Gets the repositories root path from database
         """
 
         q = RhodeCodeUi.get_by_key('/')
--- a/rhodecode/model/scm.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/model/scm.py	Tue Jul 16 21:54:28 2013 +0200
@@ -250,7 +250,7 @@
     @LazyProperty
     def repos_path(self):
         """
-        Get's the repositories root path from database
+        Gets the repositories root path from database
         """
 
         q = self.sa.query(RhodeCodeUi).filter(RhodeCodeUi.ui_key == '/').one()
--- a/rhodecode/public/js/native.history.js	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/public/js/native.history.js	Tue Jul 16 21:54:28 2013 +0200
@@ -342,7 +342,7 @@
 
 		/**
 		 * History.getInternetExplorerMajorVersion()
-		 * Get's the major version of Internet Explorer
+		 * Gets the major version of Internet Explorer
 		 * @return {integer}
 		 * @license Public Domain
 		 * @author Benjamin Arthur Lupton <contact@balupton.com>
@@ -1971,4 +1971,4 @@
 	// Try and Initialise History
 	History.init();
 
-})(window);
\ No newline at end of file
+})(window);
--- a/rhodecode/tests/functional/test_changeset_comments.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/tests/functional/test_changeset_comments.py	Tue Jul 16 21:54:28 2013 +0200
@@ -122,7 +122,7 @@
         self.assertEqual(Notification.query().count(), 2)
         users = [x.user.username for x in UserNotification.query().all()]
 
-        # test_regular get's notification by @mention
+        # test_regular gets notification by @mention
         self.assertEqual(sorted(users), [u'test_admin', u'test_regular'])
 
     def test_delete(self):
--- a/rhodecode/tests/models/test_permissions.py	Tue Jul 16 21:41:03 2013 +0200
+++ b/rhodecode/tests/models/test_permissions.py	Tue Jul 16 21:54:28 2013 +0200
@@ -89,7 +89,7 @@
         RepoModel().grant_user_permission(repo=HG_REPO, user=self.a1,
                                           perm=new_perm)
         Session().commit()
-        # cannot really downgrade admins permissions !? they still get's set as
+        # cannot really downgrade admins permissions !? they still gets set as
         # admin !
         u1_auth = AuthUser(user_id=self.a1.user_id)
         self.assertEqual(u1_auth.permissions['repositories'][HG_REPO],