This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Fix deprecated plistlib functions
ClosedPublic

Authored by manas on Aug 2 2021, 2:34 PM.

Details

Summary

It replaces the usage of readPlist,writePlist functions with load,dump
in plistlib package.

This fixes deprecation issues when analyzer reports are being generated
outside of docker.

Diff Detail

Event Timeline

manas created this revision.Aug 2 2021, 2:34 PM
manas requested review of this revision.Aug 2 2021, 2:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2021, 2:34 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
manas added a comment.Oct 1 2021, 5:47 AM

Gentle ping.

steakhal accepted this revision.Oct 1 2021, 7:16 AM

I'm not using this script. I'm assuming you run it and verified that it works.
Thanks for cleaning this up.

This revision is now accepted and ready to land.Oct 1 2021, 7:16 AM
manas added a comment.Oct 1 2021, 7:38 AM

I'm not using this script. I'm assuming you run it and verified that it works.
Thanks for cleaning this up.

I have run it. It is working.

This revision was automatically updated to reflect the committed changes.