File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3358,7 +3358,7 @@ def do_history(self, args: argparse.Namespace) -> Optional[bool]:
33583358 with os .fdopen (fd , 'w' ) as fobj :
33593359 for command in history :
33603360 if command .statement .multiline_command :
3361- fobj .write ('{}\n ' .format (command .expanded . rstrip () ))
3361+ fobj .write ('{}\n ' .format (command .expanded ))
33623362 else :
33633363 fobj .write ('{}\n ' .format (command .raw ))
33643364 try :
@@ -3372,7 +3372,7 @@ def do_history(self, args: argparse.Namespace) -> Optional[bool]:
33723372 with open (os .path .expanduser (args .output_file ), 'w' ) as fobj :
33733373 for item in history :
33743374 if item .statement .multiline_command :
3375- fobj .write ('{}\n ' .format (item .expanded . rstrip () ))
3375+ fobj .write ('{}\n ' .format (item .expanded ))
33763376 else :
33773377 fobj .write ('{}\n ' .format (item .raw ))
33783378 plural = 's' if len (history ) > 1 else ''
You can’t perform that action at this time.
0 commit comments