Show More
@@ -34,7 +34,7 b' log = logging.getLogger(__name__)' | |||
|
34 | 34 | |
|
35 | 35 | def _filter_proxy(ip): |
|
36 | 36 | """ |
|
37 |
HEADERS can have mu |
|
|
37 | HEADERS can have multiple ips inside the left-most being the original | |
|
38 | 38 | client, and each successive proxy that passed the request adding the IP |
|
39 | 39 | address where it received the request from. |
|
40 | 40 |
@@ -58,9 +58,9 b' class Command(BasePasterCommand):' | |||
|
58 | 58 | log.info('Now scanning root location for new repos...') |
|
59 | 59 | added, removed = repo2db_mapper(ScmModel().repo_scan(), |
|
60 | 60 | remove_obsolete=rm_obsolete) |
|
61 | added = ','.join(added) or '-' | |
|
62 | removed = ','.join(removed) or '-' | |
|
63 | log.info('Scan completed added:%s removed:%s' % (added, removed)) | |
|
61 | added = ', '.join(added) or '-' | |
|
62 | removed = ', '.join(removed) or '-' | |
|
63 | log.info('Scan completed added: %s removed:%s' % (added, removed)) | |
|
64 | 64 | |
|
65 | 65 | def update_parser(self): |
|
66 | 66 | self.parser.add_option('--delete-obsolete', |
@@ -50,7 +50,7 b' def get_scm(path, search_up=False, expli' | |||
|
50 | 50 | if scm[0] == explicit_alias: |
|
51 | 51 | return scm |
|
52 | 52 | raise VCSError('More than one [%s] scm found at given path %s' |
|
53 | % (','.join((x[0] for x in found_scms)), path)) | |
|
53 | % (', '.join((x[0] for x in found_scms)), path)) | |
|
54 | 54 | |
|
55 | 55 | if len(found_scms) is 0: |
|
56 | 56 | raise VCSError('No scm found at given path %s' % path) |
@@ -54,7 +54,7 b'' | |||
|
54 | 54 | </div> |
|
55 | 55 | <div class="input"> |
|
56 | 56 | % if len(c.pull_request_pending_reviewers) > 0: |
|
57 | <div class="tooltip" title="${h.tooltip(','.join([x.username for x in c.pull_request_pending_reviewers]))}">${ungettext('%d reviewer', '%d reviewers',len(c.pull_request_pending_reviewers)) % len(c.pull_request_pending_reviewers)}</div> | |
|
57 | <div class="tooltip" title="${h.tooltip(', '.join([x.username for x in c.pull_request_pending_reviewers]))}">${ungettext('%d reviewer', '%d reviewers',len(c.pull_request_pending_reviewers)) % len(c.pull_request_pending_reviewers)}</div> | |
|
58 | 58 | %else: |
|
59 | 59 | <div>${_('Pull request was reviewed by all reviewers')}</div> |
|
60 | 60 | %endif |
General Comments 0
You need to be logged in to leave comments.
Login now