mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-30 16:13:58 +00:00
f5ca88c1f4
Because sys.platform will never return "linux" on python2 -- only "linux2" -- this statement will always be False. Instead, use the startswith idiom to both provide the intended behavior and ensure future compatibility with python3.