[ https://issues.apache.org/jira/browse/CLIMATE-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573025#comment-14573025 ]
ASF GitHub Bot commented on CLIMATE-638: ---------------------------------------- GitHub user MJJoyce opened a pull request: https://github.com/apache/climate/pull/204 CLIMATE-638 - Fix urllib import and minor clean up You can merge this pull request into a Git repository by running: $ git pull https://github.com/MJJoyce/climate CLIMATE-638 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/climate/pull/204.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #204 ---- commit 59c70625d5f947f50061c8a84fabcd48b2e9d04c Author: Michael Joyce <jo...@apache.org> Date: 2015-06-04T14:56:14Z CLIMATE-638 - Fix urllib import and minor clean up ---- > Subregion_portrait example doesn't run > -------------------------------------- > > Key: CLIMATE-638 > URL: https://issues.apache.org/jira/browse/CLIMATE-638 > Project: Apache Open Climate Workbench > Issue Type: Bug > Components: documentation > Affects Versions: 0.5 > Reporter: Michael Joyce > Fix For: 1.0.0 > > > I'm unable to run the subregion_portrait example on a fresh checkout from > master. Seems like there's a potential missing import. > {code} > | -> python subregions_portrait_diagram.py > Traceback (most recent call last): > File "subregions_portrait_diagram.py", line 51, in <module> > urllib.urlretrieve(FILE_LEADER + FILE_1, FILE_1) > NameError: name 'urllib' is not defined > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)