summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/project.py b/project.py
index a9bca6db..6c6534d8 100644
--- a/project.py
+++ b/project.py
@@ -25,6 +25,7 @@ import sys
25import tarfile 25import tarfile
26import tempfile 26import tempfile
27import time 27import time
28import urllib.parse
28 29
29from color import Coloring 30from color import Coloring
30from git_command import GitCommand, git_require 31from git_command import GitCommand, git_require
@@ -39,16 +40,6 @@ from repo_trace import IsTrace, Trace
39 40
40from git_refs import GitRefs, HEAD, R_HEADS, R_TAGS, R_PUB, R_M, R_WORKTREE_M 41from git_refs import GitRefs, HEAD, R_HEADS, R_TAGS, R_PUB, R_M, R_WORKTREE_M
41 42
42from pyversion import is_python3
43if is_python3():
44 import urllib.parse
45else:
46 import imp
47 import urlparse
48 urllib = imp.new_module('urllib')
49 urllib.parse = urlparse
50 input = raw_input # noqa: F821
51
52 43
53# Maximum sleep time allowed during retries. 44# Maximum sleep time allowed during retries.
54MAXIMUM_RETRY_SLEEP_SEC = 3600.0 45MAXIMUM_RETRY_SLEEP_SEC = 3600.0