Skip to content

Commit

Permalink
Comment out deprecation warning in closurebuilder
Browse files Browse the repository at this point in the history
We have our own copy of this utility.  It works fine.
  • Loading branch information
NeilFraser committed Nov 7, 2021
1 parent 8b7b266 commit 451d0ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion third-party/closurebuilder/README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
These files are the unmodified contents of:
These files are the contents of:
https://github.com/google/closure-library/tree/72ca4df39f6130d20b98c20f6e77c50a74e3d9e2/closure/bin/build

As of 21 June 2021, these files were deleted from Google's Closure Library repo.

The deprecation warning in closurebuilder.py has been commented out.
8 changes: 4 additions & 4 deletions third-party/closurebuilder/closurebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ def main():
level=logging.INFO)
options, args = _GetOptionsParser().parse_args()

logging.warning(
'This utility is deprecated! See '
'https://github.com/google/closure-library/wiki/Migrating-off-Closure-Python-Scripts'
' for more details.')
#logging.warning(
# 'This utility is deprecated! See '
# 'https://github.com/google/closure-library/wiki/Migrating-off-Closure-Python-Scripts'
# ' for more details.')

# Make our output pipe.
if options.output_file:
Expand Down

0 comments on commit 451d0ac

Please sign in to comment.