diff --git a/rhodecode/controllers/changeset.py b/rhodecode/controllers/changeset.py
--- a/rhodecode/controllers/changeset.py
+++ b/rhodecode/controllers/changeset.py
@@ -395,7 +395,7 @@ class ChangesetController(BaseRepoContro
# get status if set !
if status and change_status:
# if latest status was from pull request and it's closed
- # disallow changing status !
+ # disallow changing status !
# dont_allow_on_closed_pull_request = True !
try:
diff --git a/rhodecode/lib/compat.py b/rhodecode/lib/compat.py
--- a/rhodecode/lib/compat.py
+++ b/rhodecode/lib/compat.py
@@ -589,6 +589,3 @@ else:
self.__cond.wait(timeout)
finally:
self.__cond.release()
-
-
-
diff --git a/rhodecode/lib/dbmigrate/schema/db_1_3_0.py b/rhodecode/lib/dbmigrate/schema/db_1_3_0.py
--- a/rhodecode/lib/dbmigrate/schema/db_1_3_0.py
+++ b/rhodecode/lib/dbmigrate/schema/db_1_3_0.py
@@ -1317,4 +1317,4 @@ class PullRequest(Base, BaseModel):
org_repo_id = Column('org_repo_id', Integer(), ForeignKey('repositories.repo_id'), nullable=False)
org_ref = Column('org_ref', Unicode(256), nullable=False)
other_repo_id = Column('other_repo_id', Integer(), ForeignKey('repositories.repo_id'), nullable=False)
- other_ref = Column('other_ref', Unicode(256), nullable=False)
\ No newline at end of file
+ other_ref = Column('other_ref', Unicode(256), nullable=False)
diff --git a/rhodecode/lib/dbmigrate/versions/006_version_1_4_0.py b/rhodecode/lib/dbmigrate/versions/006_version_1_4_0.py
--- a/rhodecode/lib/dbmigrate/versions/006_version_1_4_0.py
+++ b/rhodecode/lib/dbmigrate/versions/006_version_1_4_0.py
@@ -49,7 +49,7 @@ def upgrade(migrate_engine):
tbl = ChangesetStatus.__table__
tbl.create()
- ## RESET COMPLETLY THE metadata for sqlalchemy to use the 1_3_0 Base
+ ## RESET COMPLETLY THE metadata for sqlalchemy to use the 1_3_0 Base
Base = declarative_base()
Base.metadata.clear()
Base.metadata = MetaData()
diff --git a/rhodecode/lib/utils.py b/rhodecode/lib/utils.py
--- a/rhodecode/lib/utils.py
+++ b/rhodecode/lib/utils.py
@@ -206,7 +206,7 @@ def get_repos(path, recursive=False):
def is_valid_repo(repo_name, base_path, scm=None):
"""
Returns True if given path is a valid repository False otherwise.
- If scm param is given also compare if given scm is the same as expected
+ If scm param is given also compare if given scm is the same as expected
from scm parameter
:param repo_name:
diff --git a/rhodecode/lib/vcs/utils/hgcompat.py b/rhodecode/lib/vcs/utils/hgcompat.py
--- a/rhodecode/lib/vcs/utils/hgcompat.py
+++ b/rhodecode/lib/vcs/utils/hgcompat.py
@@ -15,4 +15,4 @@ from mercurial.encoding import tolocal
from mercurial import discovery
from mercurial import localrepo
from mercurial import scmutil
-from mercurial.discovery import findcommonoutgoing
\ No newline at end of file
+from mercurial.discovery import findcommonoutgoing
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py
--- a/rhodecode/model/forms.py
+++ b/rhodecode/model/forms.py
@@ -340,4 +340,4 @@ def PullRequestForm():
pullrequest_title = v.UnicodeString(strip=True, required=True, min=3)
pullrequest_desc = v.UnicodeString(strip=True, required=False)
- return _PullRequestForm
\ No newline at end of file
+ return _PullRequestForm
diff --git a/rhodecode/templates/admin/repos/repo_edit.html b/rhodecode/templates/admin/repos/repo_edit.html
--- a/rhodecode/templates/admin/repos/repo_edit.html
+++ b/rhodecode/templates/admin/repos/repo_edit.html
@@ -115,7 +115,7 @@
${h.checkbox('enable_locking',value="True")}
${_('Enable lock-by-pulling on repository.')}
-
+
@@ -193,7 +193,7 @@
${_('Manually invalidate cache for this repository. On first access repository will be cached again')}
-
+
${_('List of cached values')}
@@ -201,7 +201,7 @@
INSTANCE ID:${cache.prefix or '-'} ${cache.cache_args} CACHED: ${h.bool2icon(cache.cache_active)}
%endfor
-
+
${h.end_form()}
@@ -243,7 +243,7 @@
${_('Force locking on repository. Works only when anonymous access is disabled')}
-
+
${h.end_form()}
@@ -259,9 +259,9 @@
${_('''Manually set this repository as a fork of another from the list''')}
diff --git a/rhodecode/templates/admin/users/user_edit.html b/rhodecode/templates/admin/users/user_edit.html
--- a/rhodecode/templates/admin/users/user_edit.html
+++ b/rhodecode/templates/admin/users/user_edit.html
@@ -152,7 +152,7 @@
${h.literal(_('Select to inherit permissions from %s settings. '
'With this selected below options does not have any action') % h.link_to('default', url('edit_permission', id='default')))}
${h.literal(_('Select to inherit permissions from %s settings. '
'With this selected below options does not have any action') % h.link_to('default', url('edit_permission', id='default')))}
-