diff options
author | 2017-12-02 02:00:49 -0800 | |
---|---|---|
committer | 2017-12-04 10:02:01 +0100 | |
commit | d926bc40260549b997a6a5a1e82d9e7999dbb65e (patch) | |
tree | d8a8866cad9aada802ed09df6e706fa119f67b57 /tools | |
parent | d3fed125d00f6f61bfbfe05f4566656cdac1ea6e (diff) |
Spoof gflags pseudo-package __name__ for backwards compatibility.
The core gflags package is `third_party.py.gflags.gflags`, but many downstream
projects and tools use the pseudo-package `third_party.py.gflags`. gflags raises
DuplicateFlagError when defining default flags from packages with different
names, so this fix adjusts the pseudo-package's __name__ attribute to match that
of the core package.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions