[core] Fix typo in pidfile_context import
@@ -323,6 +323,9 @@ def main():
setup_user_info()
pid_file = os.path.abspath(os.path.join(root, options.pid_file))
+ if sys.version_info[0] > 2:
+ pidfile_context = TimeoutPIDLockFile(pid_file, LOCKFILE_TIMEOUT)
+ else:
pidfile_context = TimeOutPIDLockFile(pid_file, LOCKFILE_TIMEOUT)
existing_pid = pidfile_context.read_pid()
