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 @@ -239,10 +239,8 @@ def _get_properties(self) -> None:
239
239
raise ValueError ("magic number mismatch (not a SAS file?)" )
240
240
241
241
# Get alignment information
242
- align1 , align2 = 0 , 0
243
242
buf = self ._read_bytes (const .align_1_offset , const .align_1_length )
244
243
if buf == const .u64_byte_checker_value :
245
- align2 = const .align_2_value
246
244
self .U64 = True
247
245
self ._int_length = 8
248
246
self ._page_bit_offset = const .page_bit_offset_x64
@@ -255,7 +253,8 @@ def _get_properties(self) -> None:
255
253
buf = self ._read_bytes (const .align_2_offset , const .align_2_length )
256
254
if buf == const .align_1_checker_value :
257
255
align1 = const .align_2_value
258
- total_align = align1 + align2
256
+ else :
257
+ align1 = 0
259
258
260
259
# Get endianness information
261
260
buf = self ._read_bytes (const .endianness_offset , const .endianness_length )
You can’t perform that action at this time.
0 commit comments