File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -242,10 +242,8 @@ def _get_properties(self) -> None:
242
242
raise ValueError ("magic number mismatch (not a SAS file?)" )
243
243
244
244
# Get alignment information
245
- align1 , align2 = 0 , 0
246
245
buf = self ._read_bytes (const .align_1_offset , const .align_1_length )
247
246
if buf == const .u64_byte_checker_value :
248
- align2 = const .align_2_value
249
247
self .U64 = True
250
248
self ._int_length = 8
251
249
self ._page_bit_offset = const .page_bit_offset_x64
@@ -258,7 +256,8 @@ def _get_properties(self) -> None:
258
256
buf = self ._read_bytes (const .align_2_offset , const .align_2_length )
259
257
if buf == const .align_1_checker_value :
260
258
align1 = const .align_2_value
261
- total_align = align1 + align2
259
+ else :
260
+ align1 = 0
262
261
263
262
# Get endianness information
264
263
buf = self ._read_bytes (const .endianness_offset , const .endianness_length )
You can’t perform that action at this time.
0 commit comments