diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2017-10-09 16:35:53 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2017-10-09 16:35:53 -0400 |
commit | be0e3cb2508e4de9ff85fc03fdb91dcb7b68a6a2 (patch) | |
tree | 1b9b9bdf6081580bd943dbf88bb6703732101cc5 /indra/newview/llpanelpeoplemenus.h | |
parent | d9d6df313cbced45c9fd57212e51ac417fc896d6 (diff) |
MAINT-7831: Update viewer_manifest.py to use 'with self.prefix(...):'
Now that LLManifest.prefix() supports use as a context manager:
with self.prefix(...):
...
convert existing calls to that form.
This was an interesting exercise because it surfaced at least two places where
the indentation did not match the self.prefix() nesting, plus another place
where existing code was undented without a self.end_prefix() call. (That last
was an uncaught logic bug.) This underscores the value of using a SINGLE
consistent, idiomatic mechanism to limit the scope of each self.prefix() call.
Diffstat (limited to 'indra/newview/llpanelpeoplemenus.h')
0 files changed, 0 insertions, 0 deletions