Show More
@@ -787,7 +787,7 b' class Repository(Base, BaseModel):' | |||
|
787 | 787 | from rhodecode.lib.vcs.backends.git import GitRepository |
|
788 | 788 | required = (MercurialRepository, GitRepository) |
|
789 | 789 | if not isinstance(repo, required): |
|
790 | raise Exception('repo must be instance of %s' % required) | |
|
790 | raise Exception('repo must be instance of %s' % (','.join(required))) | |
|
791 | 791 | |
|
792 | 792 | # inject ui extra param to log this action via push logger |
|
793 | 793 | for k, v in extras.items(): |
@@ -807,7 +807,7 b' class Repository(Base, BaseModel):' | |||
|
807 | 807 | from rhodecode.lib.vcs.backends.git import GitRepository |
|
808 | 808 | required = (MercurialRepository, GitRepository) |
|
809 | 809 | if not isinstance(repo, required): |
|
810 | raise Exception('repo must be instance of %s' % required) | |
|
810 | raise Exception('repo must be instance of %s' % (','.join(required))) | |
|
811 | 811 | |
|
812 | 812 | # inject ui extra param to log this action via push logger |
|
813 | 813 | for k, v in extras.items(): |
@@ -873,7 +873,7 b' class Repository(Base, BaseModel):' | |||
|
873 | 873 | from rhodecode.lib.vcs.backends.git import GitRepository |
|
874 | 874 | required = (MercurialRepository, GitRepository) |
|
875 | 875 | if not isinstance(repo, required): |
|
876 | raise Exception('repo must be instance of %s' % required) | |
|
876 | raise Exception('repo must be instance of %s' % (','.join(required))) | |
|
877 | 877 | |
|
878 | 878 | # inject ui extra param to log this action via push logger |
|
879 | 879 | for k, v in extras.items(): |
General Comments 0
You need to be logged in to leave comments.
Login now