From fdaccb6aeab43c996798c07d41b20e1567378f0c Mon Sep 17 00:00:00 2001 From: Gutenson <1517780819121002@mil> Date: Wed, 30 Dec 2020 12:13:59 -0600 Subject: [PATCH] Fixed typos that appear in ula window. --- arc/ula_window.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arc/ula_window.py b/arc/ula_window.py index 22571f0..b9ab417 100644 --- a/arc/ula_window.py +++ b/arc/ula_window.py @@ -1,15 +1,15 @@ # This software was developed by United States Army Corps of Engineers (USACE) # employees in the course of their official duties. USACE used copyrighted, -# open source code to develop this software, as such this software +# open source code to develop this software, as such this software # (per 17 USC § 101) is considered "joint work." Pursuant to 17 USC § 105, # portions of the software developed by USACE employees in the course of their # official duties are not subject to copyright protection and are in the public # domain. -# +# # USACE assumes no responsibility whatsoever for the use of this software by # other parties, and makes no guarantees, expressed or implied, about its -# quality, reliability, or any other characteristic. -# +# quality, reliability, or any other characteristic. +# # The software is provided "as is," without warranty of any kind, express or # implied, including but not limited to the warranties of merchantability, # fitness for a particular purpose, and noninfringement. In no event shall the @@ -17,12 +17,12 @@ # liability, whether in an action of contract, tort or otherwise, arising from, # out of or in connection with the software or the use or other dealings in the # software. -# +# # Public domain portions of this software can be redistributed and/or modified # freely, provided that any derivative works bear some notice that they are # derived from it, and any modified versions bear some notice that they have -# been modified. -# +# been modified. +# # Copyrighted portions of the software are annotated within the source code. # Open Source Licenses, included in the source code, apply to the applicable # copyrighted portions. Copyrighted portions of the software are not in the @@ -47,7 +47,7 @@ USACE_ULA_TEXT = """This software was developed by United States Army Corps of Engineers (USACE) employees in the course of their official duties. USACE used copyrighted, -open source code to develop this software, as such this software +open source code to develop this software, as such this software (per 17 USC § 101) is considered "joint work." Pursuant to 17 USC § 105, portions of the software developed by USACE employees in the course of their official duties are not subject to copyright protection and are in the public @@ -55,7 +55,7 @@ USACE assumes no responsibility whatsoever for the use of this software by other parties, and makes no guarantees, expressed or implied, about its -quality, reliability, or any other characteristic. +quality, reliability, or any other characteristic. The software is provided "as is," without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, @@ -68,7 +68,7 @@ Public domain portions of this software can be redistributed and/or modified freely, provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have -been modified. +been modified. Copyrighted portions of the software are annotated within the source code. Open Source Licenses, included in the source code, apply to the applicable @@ -90,7 +90,7 @@ def __init__(self): self.master.minsize(712, 440) self.master.maxsize(1370, 749) self.master.resizable(1, 1) - self.master.title("User Licence Agreement - Antecedent Precipitation Tool") + self.master.title("User License Agreement - Antecedent Precipitation Tool") # Set Window Icon try: @@ -104,7 +104,7 @@ def __init__(self): self.label_1=tkinter.ttk.Label(self.master, - text="Please review and accept the user licence agreement to proceed", + text="Please review and accept the user license agreement to proceed", font='Helvetica 12 bold') self.label_1.grid(row=0, column=0, padx=0, pady=0) @@ -116,7 +116,7 @@ def __init__(self): self.scrollbar = tkinter.ttk.Scrollbar(self.text_frame) # making a scrolbar with entry test text field self.agreement_text.config(yscrollcommand=self.scrollbar.set) # setting scrolbar to y-axis self.scrollbar.config(command=self.agreement_text.yview) # setting the scrolbar to entry test textbox - self.agreement_text.insert('end', USACE_ULA_TEXT) # Inserting the License + self.agreement_text.insert('end', USACE_ULA_TEXT) # Inserting the License self.agreement_text.config(state='disabled') self.agreement_text.grid(column=0, row=0, sticky='W') # set entry to Specific column of bottom frame grid self.scrollbar.grid(column=1, row=0, sticky='nsw') # set self.scrollbar to Specific column of bottom frame grid @@ -208,7 +208,7 @@ def click_accept_button(self): def click_cancel_button(self): self.master.destroy() # Close ULA window return False - + def write_ula_accepted_file(self): # Define path for the ula_accepted_file module_path = os.path.dirname(os.path.realpath(__file__))