diff options
Diffstat (limited to 'subcmds/manifest.py')
-rw-r--r-- | subcmds/manifest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subcmds/manifest.py b/subcmds/manifest.py index 101240d1..bb6dc930 100644 --- a/subcmds/manifest.py +++ b/subcmds/manifest.py | |||
@@ -136,7 +136,7 @@ to indicate the remote ref to push changes to via 'repo upload'. | |||
136 | manifest.SetUseLocalManifests(not opt.ignore_local_manifests) | 136 | manifest.SetUseLocalManifests(not opt.ignore_local_manifests) |
137 | 137 | ||
138 | if opt.json: | 138 | if opt.json: |
139 | logger.warn("warning: --json is experimental!") | 139 | logger.warning("warning: --json is experimental!") |
140 | doc = manifest.ToDict( | 140 | doc = manifest.ToDict( |
141 | peg_rev=opt.peg_rev, | 141 | peg_rev=opt.peg_rev, |
142 | peg_rev_upstream=opt.peg_rev_upstream, | 142 | peg_rev_upstream=opt.peg_rev_upstream, |
@@ -163,13 +163,13 @@ to indicate the remote ref to push changes to via 'repo upload'. | |||
163 | if output_file != "-": | 163 | if output_file != "-": |
164 | fd.close() | 164 | fd.close() |
165 | if manifest.path_prefix: | 165 | if manifest.path_prefix: |
166 | logger.warn( | 166 | logger.warning( |
167 | "Saved %s submanifest to %s", | 167 | "Saved %s submanifest to %s", |
168 | manifest.path_prefix, | 168 | manifest.path_prefix, |
169 | output_file, | 169 | output_file, |
170 | ) | 170 | ) |
171 | else: | 171 | else: |
172 | logger.warn("Saved manifest to %s", output_file) | 172 | logger.warning("Saved manifest to %s", output_file) |
173 | 173 | ||
174 | def ValidateOptions(self, opt, args): | 174 | def ValidateOptions(self, opt, args): |
175 | if args: | 175 | if args: |