Skip to content

Commit

Permalink
[TWTR][AIRFLOW-4939] Fixup use of fallback kwarg in conf.getint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Jin committed Sep 5, 2019
1 parent 93f2f29 commit 2e01c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2420,7 +2420,7 @@ def __init__(
)
self._schedule_interval = schedule_interval
self.retries = retries if retries is not None else \
configuration.conf.getint('core', 'default_task_retries', fallback=0)
int(configuration.conf.get('core', 'default_task_retries', fallback=0))
self.queue = queue
self.pool = pool
self.sla = sla
Expand Down

0 comments on commit 2e01c24

Please sign in to comment.