##// END OF EJS Templates
white space cleanup
marcink -
r1963:9bbde542 beta
parent child Browse files
Show More
@@ -220,7 +220,7 b' class RhodeCodeSetting(Base, BaseModel):'
220 class RhodeCodeUi(Base, BaseModel):
220 class RhodeCodeUi(Base, BaseModel):
221 __tablename__ = 'rhodecode_ui'
221 __tablename__ = 'rhodecode_ui'
222 __table_args__ = (
222 __table_args__ = (
223 UniqueConstraint('ui_key'),
223 UniqueConstraint('ui_key'),
224 {'extend_existing': True}
224 {'extend_existing': True}
225 )
225 )
226
226
@@ -270,7 +270,7 b' class RhodeCodeUi(Base, BaseModel):'
270 class User(Base, BaseModel):
270 class User(Base, BaseModel):
271 __tablename__ = 'users'
271 __tablename__ = 'users'
272 __table_args__ = (
272 __table_args__ = (
273 UniqueConstraint('username'), UniqueConstraint('email'),
273 UniqueConstraint('username'), UniqueConstraint('email'),
274 {'extend_existing': True}
274 {'extend_existing': True}
275 )
275 )
276 user_id = Column("user_id", Integer(), nullable=False, unique=True, default=None, primary_key=True)
276 user_id = Column("user_id", Integer(), nullable=False, unique=True, default=None, primary_key=True)
@@ -459,7 +459,7 b' class UsersGroupMember(Base, BaseModel):'
459 class Repository(Base, BaseModel):
459 class Repository(Base, BaseModel):
460 __tablename__ = 'repositories'
460 __tablename__ = 'repositories'
461 __table_args__ = (
461 __table_args__ = (
462 UniqueConstraint('repo_name'),
462 UniqueConstraint('repo_name'),
463 {'extend_existing': True},
463 {'extend_existing': True},
464 )
464 )
465
465
@@ -707,7 +707,7 b' class RepoGroup(Base, BaseModel):'
707 __tablename__ = 'groups'
707 __tablename__ = 'groups'
708 __table_args__ = (
708 __table_args__ = (
709 UniqueConstraint('group_name', 'group_parent_id'),
709 UniqueConstraint('group_name', 'group_parent_id'),
710 CheckConstraint('group_id != group_parent_id'),
710 CheckConstraint('group_id != group_parent_id'),
711 {'extend_existing': True},
711 {'extend_existing': True},
712 )
712 )
713 __mapper_args__ = {'order_by': 'group_name'}
713 __mapper_args__ = {'order_by': 'group_name'}
@@ -891,7 +891,7 b' class UserToPerm(Base, BaseModel):'
891 class UsersGroupRepoToPerm(Base, BaseModel):
891 class UsersGroupRepoToPerm(Base, BaseModel):
892 __tablename__ = 'users_group_repo_to_perm'
892 __tablename__ = 'users_group_repo_to_perm'
893 __table_args__ = (
893 __table_args__ = (
894 UniqueConstraint('repository_id', 'users_group_id', 'permission_id'),
894 UniqueConstraint('repository_id', 'users_group_id', 'permission_id'),
895 {'extend_existing': True}
895 {'extend_existing': True}
896 )
896 )
897 users_group_to_perm_id = Column("users_group_to_perm_id", Integer(), nullable=False, unique=True, default=None, primary_key=True)
897 users_group_to_perm_id = Column("users_group_to_perm_id", Integer(), nullable=False, unique=True, default=None, primary_key=True)
@@ -929,7 +929,7 b' class UsersGroupToPerm(Base, BaseModel):'
929 class UserRepoGroupToPerm(Base, BaseModel):
929 class UserRepoGroupToPerm(Base, BaseModel):
930 __tablename__ = 'user_repo_group_to_perm'
930 __tablename__ = 'user_repo_group_to_perm'
931 __table_args__ = (
931 __table_args__ = (
932 UniqueConstraint('group_id', 'permission_id'),
932 UniqueConstraint('group_id', 'permission_id'),
933 {'extend_existing': True}
933 {'extend_existing': True}
934 )
934 )
935
935
@@ -946,7 +946,7 b' class UserRepoGroupToPerm(Base, BaseMode'
946 class UsersGroupRepoGroupToPerm(Base, BaseModel):
946 class UsersGroupRepoGroupToPerm(Base, BaseModel):
947 __tablename__ = 'users_group_repo_group_to_perm'
947 __tablename__ = 'users_group_repo_group_to_perm'
948 __table_args__ = (
948 __table_args__ = (
949 UniqueConstraint('group_id', 'permission_id'),
949 UniqueConstraint('group_id', 'permission_id'),
950 {'extend_existing': True}
950 {'extend_existing': True}
951 )
951 )
952
952
@@ -84,8 +84,8 b' def ValidUsername(edit, old_data):'
84 raise formencode.Invalid(
84 raise formencode.Invalid(
85 _('Username may only contain alphanumeric characters '
85 _('Username may only contain alphanumeric characters '
86 'underscores, periods or dashes and must begin with '
86 'underscores, periods or dashes and must begin with '
87 'alphanumeric character'),
87 'alphanumeric character'),
88 value,
88 value,
89 state
89 state
90 )
90 )
91
91
@@ -116,8 +116,8 b' def ValidUsersGroup(edit, old_data):'
116 raise formencode.Invalid(
116 raise formencode.Invalid(
117 _('RepoGroup name may only contain alphanumeric characters '
117 _('RepoGroup name may only contain alphanumeric characters '
118 'underscores, periods or dashes and must begin with '
118 'underscores, periods or dashes and must begin with '
119 'alphanumeric character'),
119 'alphanumeric character'),
120 value,
120 value,
121 state
121 state
122 )
122 )
123
123
@@ -30,7 +30,7 b''
30 <div class="hash">
30 <div class="hash">
31 r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)}
31 r${c.changeset.revision}:${h.short_id(c.changeset.raw_id)}
32 </div>
32 </div>
33 <div class="date">
33 <div class="date">
34 ${c.changeset.date}
34 ${c.changeset.date}
35 </div>
35 </div>
36 <div class="diff-actions">
36 <div class="diff-actions">
General Comments 0
You need to be logged in to leave comments. Login now