Skip to content

Commit

Permalink
Fixed typos that appear in ula window.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gutenson committed Dec 30, 2020
1 parent 875b474 commit fdaccb6
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions arc/ula_window.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# 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
# authors or U.S. Government be liable for any claim, damages or other
# 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
Expand All @@ -47,15 +47,15 @@

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
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,
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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)

Expand All @@ -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
Expand Down Expand Up @@ -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__))
Expand Down

0 comments on commit fdaccb6

Please sign in to comment.