diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-12-03 17:42:49 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-12-03 17:42:49 +0000 |
| commit | 9ad422b825180a05df9af50d3a1dabea005b4861 (patch) | |
| tree | d993825ec45f74c69175c489f03b6dcb63a22b46 | |
| parent | 585d4820ee8ac07ab46db9cd80e45e50ed115606 (diff) | |
| parent | b86aa97c3ec1432fc21002e263eb7dd63dec2233 (diff) | |
| download | oslo-9ad422b825180a05df9af50d3a1dabea005b4861.tar.gz oslo-9ad422b825180a05df9af50d3a1dabea005b4861.tar.xz oslo-9ad422b825180a05df9af50d3a1dabea005b4861.zip | |
Merge "Fixes update.py issue with EOL style on Windows"
| -rw-r--r-- | update.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ def _dest_path(path, base, dest_dir): def _replace(path, pattern, replacement): - with open(path, "r+") as f: + with open(path, "rb+") as f: lines = f.readlines() f.seek(0) f.truncate() |
