starhawking / python-terrascript

Create Terraform files using Python scripts.
BSD 2-Clause "Simplified" License
516 stars 76 forks source link

makecode.py problems #24

Closed mjuenema closed 6 years ago

mjuenema commented 6 years ago

consul

Traceback (most recent call last):
  File "./makecode.py", line 48, in <module>
    if regex.match(h.path)][0]
IndexError: list index out of range

do

do
Traceback (most recent call last):
  File "./makecode.py", line 42, in <module>
    branch = repo.branch(repo.default_branch)
AttributeError: 'NoneType' object has no attribute 'branch'