Skip to content

Commit 5dff815

Browse files
committed
Remove unecessary temporary
1 parent 06149e8 commit 5dff815

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stagpy/commands.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ def info_cmd():
4040
print('Spherical', dimension)
4141
print()
4242
for step in sdat.walk:
43-
is_snap = step.isnap is not None
4443
print(f'Step {step.istep}/{lstep.istep}', end='')
45-
if is_snap:
44+
if step.isnap is not None:
4645
print(f', snapshot {step.isnap}/{lsnap.isnap}')
4746
else:
4847
print()

0 commit comments

Comments
 (0)