This is an archive of the discontinued LLVM Phabricator instance.

[LNT] Python 3 support: fix report version literal
ClosedPublic

Authored by thopre on Sep 26 2019, 2:33 PM.

Details

Summary

The upgrade_1_to_2 module stores a report_version string literal in
the Parameter column of the Run table which is declared as binary data.
This does not work in Python 3 where strings/text and binary are
different things. This commit changes it for a binary literal instead
(introduced in Python 2.6).