[rtems-source-builder commit] sb: Download' s urllib_parse should point to urlparse on Python2.
Chris Johns
chrisj at rtems.org
Thu Mar 10 04:04:39 UTC 2016
Module: rtems-source-builder
Branch: master
Commit: d78a63ff1c8455c60d3cf7f22c631df146106977
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=d78a63ff1c8455c60d3cf7f22c631df146106977
Author: Chris Johns <chrisj at rtems.org>
Date: Thu Mar 10 15:00:29 2016 +1100
sb: Download's urllib_parse should point to urlparse on Python2.
Updates #2619.
---
source-builder/sb/download.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py
index f6f6622..8aaa7e8 100644
--- a/source-builder/sb/download.py
+++ b/source-builder/sb/download.py
@@ -31,11 +31,9 @@ import sys
try:
import urllib.request as urllib_request
import urllib.parse as urllib_parse
- import urllib.error as urllib_error
except ImportError:
import urllib as urllib_request
- import urllib as urllib_parse
- import urllib as urllib_error
+ import urparse as urllib_parse
import cvs
import error
More information about the vc
mailing list