NQNStudios / Trellonos

Python scripts designed for automated execution with Cron to manage Trello schedules.
0 stars 0 forks source link

Githubtools if-else error #48

Open NQNStudios opened 9 years ago

NQNStudios commented 9 years ago

Processing a gist script, this type of construction will yield an error if used at 0 indentation level:

if True:
    print('test passed')
else:
    print('test failed')

Because it processes a block only with respect to indentation, not related labels such as if/elif/else which must be exec'd at the same time.