tsort.py: Formatting changes - change according to Python guidelines