diff options
Diffstat (limited to 'subcmds')
| -rw-r--r-- | subcmds/branches.py | 2 | ||||
| -rw-r--r-- | subcmds/sync.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/branches.py b/subcmds/branches.py index fb60d7de..b8958848 100644 --- a/subcmds/branches.py +++ b/subcmds/branches.py | |||
| @@ -158,7 +158,7 @@ is shown, then the branch appears in all projects. | |||
| 158 | for b in i.projects: | 158 | for b in i.projects: |
| 159 | have.add(b.project) | 159 | have.add(b.project) |
| 160 | for p in projects: | 160 | for p in projects: |
| 161 | if not p in have: | 161 | if p not in have: |
| 162 | paths.append(p.relpath) | 162 | paths.append(p.relpath) |
| 163 | 163 | ||
| 164 | s = ' %s %s' % (in_type, ', '.join(paths)) | 164 | s = ' %s %s' % (in_type, ', '.join(paths)) |
diff --git a/subcmds/sync.py b/subcmds/sync.py index 13c419c3..54b5a7fc 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
| @@ -744,7 +744,7 @@ later is required to fix a server side protocol bug. | |||
| 744 | if not opt.quiet: | 744 | if not opt.quiet: |
| 745 | print('Using manifest server %s' % manifest_server) | 745 | print('Using manifest server %s' % manifest_server) |
| 746 | 746 | ||
| 747 | if not '@' in manifest_server: | 747 | if '@' not in manifest_server: |
| 748 | username = None | 748 | username = None |
| 749 | password = None | 749 | password = None |
| 750 | if opt.manifest_server_username and opt.manifest_server_password: | 750 | if opt.manifest_server_username and opt.manifest_server_password: |
