Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/py_vulcanize/third_party/rcssmin/bench/cssmin.py

Issue 1376953005: Move tracing/third_party/tvcm -> third_party/py_vulcanize. (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 3
4 """`cssmin` - A Python port of the YUI CSS compressor. 4 """`cssmin` - A Python port of the YUI CSS compressor.
5 5
6 :Copyright: 6 :Copyright:
7 7
8 Copyright 2011 - 2014 8 Copyright 2011 - 2014
9 Andr\xe9 Malo or his licensors, as applicable 9 Andr\xe9 Malo or his licensors, as applicable
10 10
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 p.add_option( 237 p.add_option(
238 '-w', '--wrap', type='int', default=None, metavar='N', 238 '-w', '--wrap', type='int', default=None, metavar='N',
239 help="Wrap output to approximately N chars per line.") 239 help="Wrap output to approximately N chars per line.")
240 240
241 options, args = p.parse_args() 241 options, args = p.parse_args()
242 sys.stdout.write(cssmin(sys.stdin.read(), wrap=options.wrap)) 242 sys.stdout.write(cssmin(sys.stdin.read(), wrap=options.wrap))
243 243
244 244
245 if __name__ == '__main__': 245 if __name__ == '__main__':
246 main() 246 main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698