From e00aa6b923d28a3c910f85e7726e4ba1d2a9aebd Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Tue, 11 Sep 2012 14:33:51 +0900 Subject: 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 --- repo | 1 - 1 file changed, 1 deletion(-) (limited to 'repo') diff --git a/repo b/repo index d6b46c87..f540cbb3 100755 --- a/repo +++ b/repo @@ -88,7 +88,6 @@ REPO_MAIN = S_repo + '/main.py' # main script import optparse import os import re -import readline import subprocess import sys import urllib2 -- cgit v1.2.3-54-g00ecf