ukris / typhoonae

Automatically exported from code.google.com/p/typhoonae
0 stars 0 forks source link

Incomplete cron.yaml file causes apptool to fail #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use apptool to configure an application with the cron.yaml file 
consisting a single line containing "cron:"

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "./bin/apptool", line 28, in <module>
    typhoonae.apptool.main()
  File "/home/nwm/typhoonae/src/typhoonae/apptool.py", line 711, in main
    write_crontab(options, app_root)
  File "/home/nwm/typhoonae/src/typhoonae/apptool.py", line 564, in 
write_crontab
    for entry in cron_info.cron:
TypeError: 'NoneType' object is not iterable

What version of the product are you using? On what operating system?
0.1.2 on Ubuntu 9.10

Please provide any additional information below.
Google Appengine doesn't error when uploading an app with an incomplete 
cron.yaml file.

Original issue reported on code.google.com by Noah.Mci...@gmail.com on 2 Feb 2010 at 9:23

GoogleCodeExporter commented 9 years ago

Original comment by tobias.r...@gmail.com on 2 Feb 2010 at 9:59

GoogleCodeExporter commented 9 years ago
Fixed in the trunk. Thanks for the heads-up!

Original comment by tobias.r...@gmail.com on 2 Feb 2010 at 10:05

GoogleCodeExporter commented 9 years ago
Fix included in 0.1.2 release.

Original comment by tobias.r...@gmail.com on 8 Feb 2010 at 8:12