X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/22c24872823416f2c55eb40d1216e4c5601332d3..7820e0e1436e6b1c4968e2bb7653285a5a11b0bc:/tools/stack-cleaner/as diff --git a/tools/stack-cleaner/as b/tools/stack-cleaner/as index a3a385d45d..148740142d 100755 --- a/tools/stack-cleaner/as +++ b/tools/stack-cleaner/as @@ -20,7 +20,7 @@ while i < len(sys.argv): if i + 1 >= len(sys.argv): sys.stderr.write("Missing argument\n") sys.exit(1) - args.append(sys.argv[i+1]) + args.append(sys.argv[i + 1]) i = i + 1 elif re.match('^-', sys.argv[i][0]): args.append(sys.argv[i]) @@ -37,7 +37,8 @@ if input_filename == None: temp_file, temp_filename = tempfile.mkstemp(suffix=".s", prefix="as_wrapper") try: # Generate temporary file with modified assembly code: - script_file = os.path.join(os.path.dirname(sys.argv[0]), "clean-stack-filter") + script_file = os.path.join( + os.path.dirname(sys.argv[0]), "clean-stack-filter") input_file = os.open(input_filename, os.O_RDONLY) status = subprocess.call([script_file], stdin=input_file, stdout=temp_file) os.close(input_file)