{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7673","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7673/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7673/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7673/events","html_url":"https://github.com/ARMmbed/mbed-os/pull/7673","id":346728092,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1NTIyMTk5","number":7673,"title":"Fixing import paths of memap.py when excuted as a script","user":{"login":"bridadan","id":3123977,"node_id":"MDQ6VXNlcjMxMjM5Nzc=","avatar_url":"https://avatars2.githubusercontent.com/u/3123977?v=4","gravatar_id":"","url":"https://api.github.com/users/bridadan","html_url":"https://github.com/bridadan","followers_url":"https://api.github.com/users/bridadan/followers","following_url":"https://api.github.com/users/bridadan/following{/other_user}","gists_url":"https://api.github.com/users/bridadan/gists{/gist_id}","starred_url":"https://api.github.com/users/bridadan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bridadan/subscriptions","organizations_url":"https://api.github.com/users/bridadan/orgs","repos_url":"https://api.github.com/users/bridadan/repos","events_url":"https://api.github.com/users/bridadan/events{/privacy}","received_events_url":"https://api.github.com/users/bridadan/received_events","type":"User","site_admin":false},"labels":[{"id":390046351,"node_id":"MDU6TGFiZWwzOTAwNDYzNTE=","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/needs:%20CI","name":"needs: CI","color":"fbca04","default":false},{"id":1033309299,"node_id":"MDU6TGFiZWwxMDMzMzA5Mjk5","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/release-version:%205.9.7","name":"release-version: 5.9.7","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-08-01T19:03:41Z","updated_at":"2018-08-24T23:18:35Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/7673","html_url":"https://github.com/ARMmbed/mbed-os/pull/7673","diff_url":"https://github.com/ARMmbed/mbed-os/pull/7673.diff","patch_url":"https://github.com/ARMmbed/mbed-os/pull/7673.patch"},"body":"### Description\r\n\r\n<!-- \r\n    Required\r\n    Add here detailed changes summary, testing results, dependencies \r\n    Good example: https://os.mbed.com/docs/latest/reference/workflow.html (Pull request template)\r\n-->\r\n\r\nThis allows the `memap.py` script to be executed directly. On master, it currently throws an error:\r\n\r\n```\r\n$python mbed-os\\tools\\memap.py --help\r\nTraceback (most recent call last):\r\n  File \"mbed-os\\tools\\memap.py\", line 20, in <module>\r\n    from .utils import (argparse_filestring_type, argparse_lowercase_hyphen_type,\r\nValueError: Attempted relative import in non-package\r\n```\r\n\r\nThis patch was tested with Python version 2.7.13.\r\n\r\nFYI @dlfryar \r\n\r\n### Pull request type\r\n\r\n<!-- \r\n    Required\r\n    Please add only one X to one of the following types. Do not fill multiple types (split the pull request otherwise).\r\n    Please note this is not a GitHub task list, indenting the boxes or changing the format to add a '.' or '*' in front\r\n    of them would change the meaning incorrectly. The only changes to be made are to add a description text under the\r\n    description heading and to add a 'x' to the correct box.\r\n-->\r\n    [x] Fix\r\n    [ ] Refactor\r\n    [ ] New target\r\n    [ ] Feature\r\n    [ ] Breaking change\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/415906341","html_url":"https://github.com/ARMmbed/mbed-os/pull/7673#issuecomment-415906341","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7673","id":415906341,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTkwNjM0MQ==","user":{"login":"mbed-ci","id":19887319,"node_id":"MDQ6VXNlcjE5ODg3MzE5","avatar_url":"https://avatars2.githubusercontent.com/u/19887319?v=4","gravatar_id":"","url":"https://api.github.com/users/mbed-ci","html_url":"https://github.com/mbed-ci","followers_url":"https://api.github.com/users/mbed-ci/followers","following_url":"https://api.github.com/users/mbed-ci/following{/other_user}","gists_url":"https://api.github.com/users/mbed-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/mbed-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbed-ci/subscriptions","organizations_url":"https://api.github.com/users/mbed-ci/orgs","repos_url":"https://api.github.com/users/mbed-ci/repos","events_url":"https://api.github.com/users/mbed-ci/events{/privacy}","received_events_url":"https://api.github.com/users/mbed-ci/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T23:18:35Z","updated_at":"2018-08-24T23:18:35Z","author_association":"NONE","body":"# [Test : SUCCESS](http://mbed-ci-master-2.austin.arm.com:8081/job/test_matrix_raas/2643/) \nBuild number : [2643](http://mbed-ci-master-2.austin.arm.com:8081/job/test_matrix_raas/2643/) \n Test logs :http://mbed-os-logs.s3-website-us-west-1.amazonaws.com/?prefix=logs/7673/2643"}}
{"actor":{"display_login":"mbed-ci"}}