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

Side by Side Diff: unzip.py

Issue 25857002: Adding apprtc and downloading of google appengine sdk to webrtc.DEPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/webrtc/webrtc.DEPS/
Patch Set: Created 7 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 | Annotate | Revision Log
« DEPS ('K') | « google-appengine.zip.sha1 ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
Added: svn:executable
+ *
OLDNEW
(Empty)
1 #!/usr/bin/python
2 # Copyright 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 """Extracts all files in a zip file to the current working dir."""
7
8 import sys
9 import zipfile
10
11
12 def main(argv):
13 if len(argv) == 1:
14 return 'Usage: %s file_to_unzip.zip' % argv[0]
15 with zipfile.ZipFile(argv[1]) as zip_file:
16 zip_file.extractall()
17
18
19 if __name__ == '__main__':
20 sys.exit(main(sys.argv))
OLDNEW
« DEPS ('K') | « google-appengine.zip.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698