projectatomic / atomic

Atomic Run Tool for installing/running/managing container images.
Other
526 stars 139 forks source link

fix YAMLLoadWarning #1257

Open PrivateRookie opened 5 years ago

PrivateRookie commented 5 years ago

'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.

rh-atomic-bot commented 5 years ago

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

rhatdan commented 5 years ago

LGTM