Skip to content

Commit

Permalink
Fixed port file warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Sep 7, 2016
1 parent d85b0e0 commit 6e5c48e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cylc/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
from cylc.rundb import CylcSuiteDAO
from cylc.suite_env import CylcSuiteEnv
from cylc.suite_host import get_suite_host
from cylc.suite_logging import SuiteLog, OUT, ERR, LOG
from cylc.suite_logging import SuiteLog, OUT, ERR, LOG, ERR_IF_DEF
from cylc.task_id import TaskID
from cylc.task_pool import TaskPool
from cylc.task_proxy import TaskProxy, TaskProxySequenceBoundsError
Expand Down Expand Up @@ -338,7 +338,7 @@ def _check_port_file_does_not_exist(suite):
# or if port file does not contain good values of port and host.
return port_file_path
else:
ERR.error(
ERR_IF_DEF.error(
(
r"""ERROR: port file exists: %(port_file_path)s
Expand Down

0 comments on commit 6e5c48e

Please sign in to comment.