[Updater] Fix warning am: 19ec05f868 am: 1a30d74a6f am: b25d938d21
am: e574255500
Change-Id: I0a62ca3cdaff8be83831d82d0be8f5c9dbcc3344
diff --git a/external_updater.py b/external_updater.py
index d2be334..1745549 100644
--- a/external_updater.py
+++ b/external_updater.py
@@ -182,7 +182,7 @@
def _do_update(args):
- updater, err = check_update(args.path)
+ updater, _ = check_update(args.path)
if updater is None:
return
if not has_new_version(updater) and not args.force:
@@ -193,7 +193,7 @@
git_utils.checkout(full_path, args.remote_name + '/master')
try:
git_utils.delete_branch(full_path, TMP_BRANCH_NAME)
- except subprocess.CalledProcessError as err:
+ except subprocess.CalledProcessError:
# Still continue if the branch doesn't exist.
pass
git_utils.start_branch(full_path, TMP_BRANCH_NAME)