mirror of
https://github.com/xcat2/confluent.git
synced 2026-08-27 09:06:41 +00:00
c6c2d3112e
Hand written rather than autofixed, since three of the four need the surrounding code read to be sure they are equivalent: - confetty: `powerstate == None` -> `is None`. - nodeconfig: `setmode != True` / `!= False` -> `not setmode` / `setmode`. Safe because setmode only ever holds None, True or False, and the two lines above each test normalise None away first. - pam: split two `if cond: stmt` one-liners. - imgutil: `from shutil import copytree as copytree`, an alias that renames nothing. Not a re-export marker, this is a script.