Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
don't import urlopen
Browse files Browse the repository at this point in the history
  • Loading branch information
ruleant committed May 11, 2015
1 parent 17f31cd commit 0a6f8f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildtimetrend/travis.py
Expand Up @@ -36,10 +36,10 @@
import buildtimetrend
try:
# For Python 3.0 and later
from urllib.request import urlopen, Request, build_opener
from urllib.request import Request, build_opener
except ImportError:
# Fall back to Python 2's urllib2
from urllib2 import urlopen, Request, build_opener
from urllib2 import Request, build_opener

TRAVIS_ORG_API_URL = 'https://api.travis-ci.org/'

Expand Down

0 comments on commit 0a6f8f2

Please sign in to comment.