Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

fix YAMLLoadWarning #1257

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix YAMLLoadWarning #1257

wants to merge 1 commit into from

Conversation

PrivateRookie
Copy link

'atomic install/run'

Description

fix warning when thrown by yaml.load function, if load with default load, it will throw a deprecation
warning. to fix it, try to import CLoader as Loader, if can't import CLoader, use Loader, and specify
Loader when calling yaml.load

Pull Request Checklist:

If your Pull request contains new features or functions, tests are required. If the PR is a bug fix and no tests exist, please consider adding some to prevent regressions.

  • Unittests
  • Integration Tests

'atomic install/run'
@rh-atomic-bot
Copy link

Can one of the admins verify this patch?
I understand the following commands:

  • bot, add author to whitelist
  • bot, test pull request
  • bot, test pull request once

@rhatdan
Copy link
Member

rhatdan commented May 10, 2019

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants