Since it's all in a bracket anyway you can split it up like this to make it easier to read:
```python
ctx.local(
    'python2.6 ./bin/crontab/gen-crons.py -w %s > /etc/cron.d/%s_generated' % 
    (settings.SRC_DIR, settings.REMOTE_HOSTNAME)
)
```