From 014293be1d9a18f04302b20dec5c8a9d3288316e Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Mon, 28 Oct 2024 18:49:38 -0400 Subject: [PATCH] debug --- wpimath/generate_quickbuf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wpimath/generate_quickbuf.py b/wpimath/generate_quickbuf.py index cb5eb59d33c..fe913513adb 100755 --- a/wpimath/generate_quickbuf.py +++ b/wpimath/generate_quickbuf.py @@ -29,10 +29,10 @@ def generate_quickbuf( for java_file in java_files: with (java_file).open(encoding="utf-8") as f: content = f.read() - + output_content = "// Copyright (c) FIRST and other WPILib contributors.\n// Open Source Software; you can modify and/or share it under the terms of\n// the WPILib BSD license file in the root directory of this project.\n" + content + print(output_content) java_file.write_text( - "// Copyright (c) FIRST and other WPILib contributors.\n// Open Source Software; you can modify and/or share it under the terms of\n// the WPILib BSD license file in the root directory of this project.\n" - + content, + output_content, encoding="utf-8", newline="\n" )