emerge python scripts uses 8 spaces for indent. This prevent any modification. For howto use it in a recommended way see: https://www.python.org/dev/peps/pep-0008/#indentation For example see: cat /usr/lib/python-exec/python3.4/emerge #!/usr/bin/python3.4 -b # Copyright 2006-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from __future__ import print_function import platform import signal import sys # This block ensures that ^C interrupts are handled quietly. We handle # KeyboardInterrupt instead of installing a SIGINT handler, since # exiting from signal handlers intermittently causes python to ignore # the SystemExit exception with a message like this: # Exception SystemExit: 130 in <function remove at 0x7fd2146c1320> ignored try: def exithandler(signum, _frame): signal.signal(signal.SIGTERM, signal.SIG_IGN) sys.exit(128 + signum) signal.signal(signal.SIGTERM, exithandler) # Prevent "[Errno 32] Broken pipe" exceptions when # writing to a pipe. signal.signal(signal.SIGPIPE, signal.SIG_DFL) def debug_signal(_signum, _frame): import pdb pdb.set_trace()
You have a funny cat. The file you refer to uses tabs and not spaces for indentation.
Its looks like i need a very clever tool to see that the width of eight are four but is not four because of eight.
... huh? I assume your editor converted some tabs to spaces when you saved the file, and that made python unhappy.