mirror of
https://gerrit.googlesource.com/git-repo
synced 2026-11-15 08:47:11 +00:00
style: use import manifest_xml everywhere
Align with Google style guides and `import manifest_xml` as a module rather than import symbols out of it. Change-Id: Ib600a5ccaf53b178e27e6e9d56847751d266bfe4 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/654812 Tested-by: Mike Frysinger <vapier@google.com> Commit-Queue: Mike Frysinger <vapier@google.com> Reviewed-by: Brian Gan <brgan@google.com>
This commit is contained in:
1 parent
95d7c8c0df
commit
4cef373d98
4 files changed
+14
-14
No files matched your search
@@ -14,7 +14,7 @@
|
||||
|
||||
import color
|
||||
from command import PagedCommand
|
||||
from manifest_xml import RepoClient
|
||||
import manifest_xml
|
||||
|
||||
|
||||
class _Coloring(color.Coloring):
|
||||
@@ -238,12 +238,12 @@ synced and their revisions won't be found.
|
||||
self.printRevision
|
||||
) = self.printText
|
||||
|
||||
manifest1 = RepoClient(self.repodir)
|
||||
manifest1 = manifest_xml.RepoClient(self.repodir)
|
||||
manifest1.Override(args[0], load_local_manifests=False)
|
||||
if len(args) == 1:
|
||||
manifest2 = self.manifest
|
||||
else:
|
||||
manifest2 = RepoClient(self.repodir)
|
||||
manifest2 = manifest_xml.RepoClient(self.repodir)
|
||||
manifest2.Override(args[1], load_local_manifests=False)
|
||||
|
||||
diff = manifest1.projectsDiff(manifest2)
|
||||
|
||||
Reference in new issue
Block a user