Commit graph

7 commits

Author SHA1 Message Date
Pedro Algarvio
c096bc6022
Run pyupgrade on the files changed on the merge forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-09-12 13:03:27 +01:00
Pedro Algarvio
b43c1d9168 Remove vim config comments
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-08-23 16:28:52 +00:00
Daniel A. Wozniak
d9b50659b2 Pyupgrade and drop six 2021-07-06 09:04:28 -04:00
Blacken Salt
0b2a5613b3
Blacken salt 2020-04-03 13:05:41 -05:00
Pedro Algarvio
35646c5ed9
Fix PyLint broad-except 2020-01-03 12:57:52 +00:00
Erik Johnson
f60183b95c
Use bytestrings for struct.pack/unpack
https://github.com/saltstack/salt/pull/45687 and
https://github.com/saltstack/salt/pull/45725 fixed problems with older
Python 2 versions interacting with the struct module, since
unicode_literals turned the format strings to unicode and older Python 2
releases can't accept a unicode format string. Since Python 2 and 3 both
support using bytestrings for the format strings, this commit makes sure
we are using bytestrings everywhere else we are using struct.pack/unpack.
2018-01-27 17:34:16 -06:00
Pedro Algarvio
3beb3fb801
Move whatever we need from salttesting to salt.
Let's drop the salttesting dependency cycle.
2017-02-28 22:52:49 +00:00