Skip to content
Snippets Groups Projects
Commit e210dc94 authored by Jan Mach's avatar Jan Mach
Browse files

Fixed a typo in variable name. Thanks PyFlakes.

(Redmine issue: #7121)
parent 63b4a12f
No related branches found
No related tags found
No related merge requests found
......@@ -203,7 +203,7 @@ class FilerDaemonComponent(pyzenkit.zendaemon.ZenDaemonComponent): # pylint: di
def _check_workdir_writability(self, daemon, dir_name):
if not os.path.isdir(self.queue_out_dir):
msg = "Work directory '{}' does not exist".format(dirname)
msg = "Work directory '{}' does not exist".format(dir_name)
daemon.logger.error("[STATUS] Component '{}': {}".format(self.cid, msg))
raise pyzenkit.zendaemon.ZenDaemonComponentException(msg)
if not os.access(dir_name, os.W_OK):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment