diff options
-rwxr-xr-x | utils/common/gitscraper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/common/gitscraper.py b/utils/common/gitscraper.py index 49ef42de13..cfa017aed0 100755 --- a/utils/common/gitscraper.py +++ b/utils/common/gitscraper.py | |||
@@ -115,7 +115,7 @@ def get_object(repo, blob, destfile): | |||
115 | return False | 115 | return False |
116 | if not os.path.exists(os.path.dirname(destfile)): | 116 | if not os.path.exists(os.path.dirname(destfile)): |
117 | os.makedirs(os.path.dirname(destfile)) | 117 | os.makedirs(os.path.dirname(destfile)) |
118 | f = open(destfile, 'w') | 118 | f = open(destfile, 'wb') |
119 | for line in cmdout[0]: | 119 | for line in cmdout[0]: |
120 | f.write(line) | 120 | f.write(line) |
121 | f.close() | 121 | f.close() |