]> arthur.barton.de Git - bup.git/commit - lib/bup/metadata.py
Use sys.platform instead of platform.system().
authorRob Browning <rlb@defaultvalue.org>
Mon, 27 May 2013 15:27:51 +0000 (10:27 -0500)
committerRob Browning <rlb@defaultvalue.org>
Mon, 27 May 2013 17:28:51 +0000 (12:28 -0500)
commitb64053842b2d981aa1c52ca207d7ec0d74410be7
tree5bad43e456919db290cf4d7ab08fb0b41d602b80
parent3690364f4ea5b768aab8d1a75c9cd2c237a8dee9
Use sys.platform instead of platform.system().

If nothing else, the former is computed at compile time, and so should
be more efficient.  Use the recommended "startswith()" idiom.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/ftp-cmd.py
lib/bup/helpers.py
lib/bup/metadata.py
lib/bup/t/tmetadata.py