Skip to content

Commit fd63f5b

Browse files
committed
Correct python3 bug in gerenate index
1 parent 1e5b832 commit fd63f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/arm_pack_manager/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def get_svd_file(self, device_name):
131131
return pack.open(device['debug'])
132132

133133
def generate_index(self):
134-
with open(LocalPackIndex, "wb+") as out:
134+
with open(LocalPackIndex, "w+") as out:
135135
self._cache.index["version"] = "0.2.0"
136136
dump(self._cache.index, out, indent=4, sort_keys=True)
137137

0 commit comments

Comments
 (0)