Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyxamstore/explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,16 +494,16 @@ def do_pack(in_json_config):

# Write new assemblies.manifest
print("Writing 'assemblies.manifest.new'...")
assemblies_manifest_f = open("assemblies.manifest.new", "w")
assemblies_manifest_f = open("assemblies.manifest.new", "w", newline='\n')

assemblies_manifest_f.write("Hash 32 Hash 64 ")
assemblies_manifest_f.write("Blob ID Blob idx Name\r\n")
assemblies_manifest_f.write("Blob ID Blob idx Name\n")

#for _, store_json in json_data['stores'].items():
for assembly in json_data['assemblies']:
hash32, hash64 = gen_xxhash(assembly['name'])

line = ("0x%08s 0x%016s %03d %04d %s\r\n"
line = ("0x%08s 0x%016s %03d %04d %s\n"
% (hash32, hash64, assembly['store_id'],
assembly['blob_idx'], assembly['name']))

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
future==0.18.2
lz4==2.2.1
xxhash==2.0.2
future==0.18.3
lz4==4.3.2
xxhash==3.2.0