atomic icon indicating copy to clipboard operation
atomic copied to clipboard

fix YAMLLoadWarning

Open PrivateRookie opened this issue 6 years ago • 2 comments

'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

PrivateRookie avatar May 10 '19 01:05 PrivateRookie

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

rh-atomic-bot avatar May 10 '19 01:05 rh-atomic-bot

LGTM

rhatdan avatar May 10 '19 18:05 rhatdan