summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-09-11 14:33:51 +0900
committerGustaf Lundh <gustaf.lundh@sonymobile.com>2012-09-18 09:54:57 +0200
commite00aa6b923d28a3c910f85e7726e4ba1d2a9aebd (patch)
tree07c848b81c58e5d4a8e34ecae8606ee5fa62679e /manifest_xml.py
parent86d973d24ec6771504c37eddc535dff8e03c724f (diff)
downloadgit-repo-e00aa6b923d28a3c910f85e7726e4ba1d2a9aebd.tar.gz
Clean up imports
manifest_xml: import `HEAD` and `R_HEADS` from correct module version: import `HEAD` from correct module `HEAD` and `R_HEADS` should be imported from the git_refs module, where they are originally defined, rather than from the project module. repo: remove unused import of readline cherry_pick: import standard modules on separate lines smartsync: import subcmd modules explicitly from subcmd Use: `import re import sys` and `from subcmds.sync import Sync` Instead of: `import sys, re` and `from sync import Sync` Change-Id: Ie10dd6832710939634c4f5c86b9ba5a9cd6fc92e
Diffstat (limited to 'manifest_xml.py')
-rw-r--r--manifest_xml.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index 8e9efd13..f4f6a755 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -21,7 +21,8 @@ import urlparse
21import xml.dom.minidom 21import xml.dom.minidom
22 22
23from git_config import GitConfig 23from git_config import GitConfig
24from project import RemoteSpec, Project, MetaProject, R_HEADS, HEAD 24from git_refs import R_HEADS, HEAD
25from project import RemoteSpec, Project, MetaProject
25from error import ManifestParseError 26from error import ManifestParseError
26 27
27MANIFEST_FILE_NAME = 'manifest.xml' 28MANIFEST_FILE_NAME = 'manifest.xml'