Title: gitignore .pyc; make vistory.py more robust to lack of node children by hobson · Pull Request #32 · natural/java2python · GitHub
Open Graph Title: gitignore .pyc; make vistory.py more robust to lack of node children by hobson · Pull Request #32 · natural/java2python
X Title: gitignore .pyc; make vistory.py more robust to lack of node children by hobson · Pull Request #32 · natural/java2python
Description: .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/org/ggp/base/util/gdl $ j2py GdlUtils.java GdlUtils.py ERROR Traceback: Traceback (most recent call last): File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 259, in sys.exit(runMain(configScript(sys.argv[1:]))) File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 57, in runMain return runOneOrMany(options) File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 83, in runOneOrMany return runTransform(options) File "/home/hobs/.virtualenvs/ggpy/bin/j2py", line 135, in runTransform module.walk(tree) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 83, in walk visitor = self.accept(tree, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 43, in accept return call(node, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 484, in acceptIf nextBlock.walk(nextNode.children[1], memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 86, in walk visitor.walk(child, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 83, in walk visitor = self.accept(tree, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 43, in accept return call(node, memo) File "/home/hobs/.virtualenvs/ggpy/lib/python2.7/site-packages/java2python/compiler/visitor.py", line 443, in acceptFor if not node.firstChildOfType(tokens.BLOCK_SCOPE).children: AttributeError: 'NoneType' object has no attribute 'children'
Open Graph Description: .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/or...
X Description: .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/or...
Opengraph URL: https://github.com/natural/java2python/pull/32
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:56260fe7-c7e2-3baa-60de-892763a35287 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E61E:1D504F:AE5218:E02A0C:697458C6 |
| html-safe-nonce | 4e67d90baaf0ce3af487229062d6d1cbc8936f73f92ff6289e0c61f172c73435 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjFFOjFENTA0RjpBRTUyMTg6RTAyQTBDOjY5NzQ1OEM2IiwidmlzaXRvcl9pZCI6IjQ1OTU4MjI3NzMyMzcyMDkyODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5953074f9616029a889a1c70438772d846eb5302aca8f6fe19a3997ecdc2498d |
| hovercard-subject-tag | pull_request:14997137 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/natural/java2python/pull/32/files |
| twitter:image | https://avatars.githubusercontent.com/u/292855?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/292855?s=400&v=4 |
| og:image:alt | .gitignore *.pyc .gitignore egg dir robust to empty node lists and nodes without children To reproduce ERROR: $ cd ~/src $ git clone https://github.com/ggp-org/ggp-base.git $ ~/src/ggp-base/src/or... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/natural/java2python git https://github.com/natural/java2python.git |
| octolytics-dimension-user_id | 146692 |
| octolytics-dimension-user_login | natural |
| octolytics-dimension-repository_id | 3298542 |
| octolytics-dimension-repository_nwo | natural/java2python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3298542 |
| octolytics-dimension-repository_network_root_nwo | natural/java2python |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width