Skip to content
Commit 2058c636 authored by Rashed Abdel-Tawab's avatar Rashed Abdel-Tawab Committed by Mike Frysinger
Browse files

Only import imp on py2

imp is deprecatedon py3. It's also not used with py3, so just move it
to the py2 import block

Test: run `repo` command and verify warning is no longer present
Test: verify `repo sync` and `repo upload` function as expected
Change-Id: I9d59403d7819c4a478c9f54cbef114f8a96486a5
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/239713


Tested-by: default avatarRashed Abdel-Tawab <rashedabdeltawab@gmail.com>
Reviewed-by: default avatarMike Frysinger <vapier@google.com>
parent c8290ad4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment