Fix typo.

R=ricow@google.com

Change-Id: I9c9108f5bb59265f9c197339d608c4a8d47e4d21
diff --git a/tools/archive.py b/tools/archive.py
index e5d25de..90fd446 100755
--- a/tools/archive.py
+++ b/tools/archive.py
@@ -99,7 +99,7 @@
       file_name = os.path.basename(file)
       tagged_jar = os.path.join(temp, file_name)
       shutil.copyfile(file, tagged_jar)
-      if file_name.endsWith('.jar'):
+      if file_name.endswith('.jar'):
         with zipfile.ZipFile(tagged_jar, 'a') as zip:
           zip.write(version_file, os.path.basename(version_file))
       destination = GetUploadDestination(version, file_name, is_master)