mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
Fix PEP-8 styling
This commit is contained in:
parent
3a758887a5
commit
e7db11c586
1 changed files with 3 additions and 3 deletions
|
@ -253,9 +253,9 @@ def fg(args, stdin=None):
|
|||
act = tasks[0] # take the last manipulated task by default
|
||||
elif len(args) == 1:
|
||||
try:
|
||||
if args[0] == '+': # take the last manipulated task
|
||||
act = tasks[0]
|
||||
elif args[0] == '-': # take the second to last manipulated task
|
||||
if args[0] == '+': # take the last manipulated task
|
||||
act = tasks[0]
|
||||
elif args[0] == '-': # take the second to last manipulated task
|
||||
act = tasks[1]
|
||||
else:
|
||||
act = int(args[0])
|
||||
|
|
Loading…
Add table
Reference in a new issue