mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1468328 - Make import statement Python3 compatible. r=marco
MozReview-Commit-ID: 6NPlMjT6K8J --HG-- extra : rebase_source : 77d195514c5bee921a7086037d3738e01096c631
This commit is contained in:
parent
7aa7348ecc
commit
d61184c99d
@ -5,7 +5,11 @@
|
||||
from argparse import ArgumentParser
|
||||
import json
|
||||
import os
|
||||
import urlparse
|
||||
|
||||
try:
|
||||
import urlparse
|
||||
except ImportError:
|
||||
import urllib.parse as urlparse
|
||||
|
||||
from mozpack.chrome.manifest import parse_manifest
|
||||
import mozpack.path as mozpath
|
||||
|
Loading…
Reference in New Issue
Block a user