swift/swift/cli
Ferenc Horváth 635bc7fa8f Replace string slicing with proper string methods
Updated string prefix and suffix checker slicing to startswith()
and endswith() methods.

Using startswith() and endswith() improves readability, error-proneness
and enhances maintainability.

Change-Id: I1d5fbf116a61763346c6f92fd8023dbbe9bb37cf
2015-11-27 14:09:35 +01:00
..
__init__.py Add some tests for bin/swift-recon 2014-01-31 15:34:37 +00:00
form_signature.py Replace python print operator with print function (pep H233, py33) 2015-07-16 18:36:52 +05:30
info.py py3: Replace urllib imports with six.moves.urllib 2015-10-08 15:24:13 +02:00
recon.py Compare Swift config checksum in swift-recon --all 2015-11-05 21:21:21 +01:00
ring_builder_analyzer.py swift-ring-builder can't remove a device with zero weight 2015-10-20 16:13:28 +02:00
ringbuilder.py Replace string slicing with proper string methods 2015-11-27 14:09:35 +01:00