mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
ignore _ unused
This commit is contained in:
parent
a0127add25
commit
d4d8a5f80a
1 changed files with 2 additions and 2 deletions
|
@ -226,7 +226,7 @@ class BaseShell(object):
|
||||||
|
|
||||||
def settitle(self):
|
def settitle(self):
|
||||||
"""Sets terminal title."""
|
"""Sets terminal title."""
|
||||||
_ = self
|
_ = self # noqa: F841
|
||||||
env = builtins.__xonsh_env__ # pylint: disable=no-member
|
env = builtins.__xonsh_env__ # pylint: disable=no-member
|
||||||
term = env.get('TERM', None)
|
term = env.get('TERM', None)
|
||||||
# Shells running in emacs sets TERM to "dumb" or "eterm-color".
|
# Shells running in emacs sets TERM to "dumb" or "eterm-color".
|
||||||
|
@ -266,7 +266,7 @@ class BaseShell(object):
|
||||||
|
|
||||||
def _append_history(self, tee_out=None, **info):
|
def _append_history(self, tee_out=None, **info):
|
||||||
"""Append information about the command to the history."""
|
"""Append information about the command to the history."""
|
||||||
_ = self
|
_ = self # noqa: F841
|
||||||
hist = builtins.__xonsh_history__ # pylint: disable=no-member
|
hist = builtins.__xonsh_history__ # pylint: disable=no-member
|
||||||
info['rtn'] = hist.last_cmd_rtn
|
info['rtn'] = hist.last_cmd_rtn
|
||||||
tee_out = tee_out or None
|
tee_out = tee_out or None
|
||||||
|
|
Loading…
Add table
Reference in a new issue