diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 02:21:36 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-04-22 02:21:36 +0200 |
commit | cfe5b2cb3b1d5c38221e9570e96cc393babda1ff (patch) | |
tree | bdccb994ff08a9c0cb7d782c7bad266ac352e690 /paste | |
parent | 11db5b1f795bb44d15f3621971d0cff3fca4d32c (diff) | |
download | paste-git-cfe5b2cb3b1d5c38221e9570e96cc393babda1ff.tar.gz |
Fix paste.util.threadedprint.uninstall()
Rename duplicated uninstall() function to uninstall_stdin() and fix typo in
variable name (_oldstin => _oldstdin).
Diffstat (limited to 'paste')
-rw-r--r-- | paste/util/threadedprint.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/util/threadedprint.py b/paste/util/threadedprint.py index e69993e..820311e 100644 --- a/paste/util/threadedprint.py +++ b/paste/util/threadedprint.py @@ -237,8 +237,8 @@ def install_stdin(**kw): register_stdin = _stdincatcher.register deregister_stdin = _stdincatcher.deregister -def uninstall(): - global _stdincatcher, _oldstin, register_stdin, deregister_stdin +def uninstall_stdin(): + global _stdincatcher, _oldstdin, register_stdin, deregister_stdin if _stdincatcher: sys.stdin = _oldstdin _stdincatcher = _oldstdin = None |