From e05c7253043647e37bdbc13038bff06334fac8cb Mon Sep 17 00:00:00 2001 From: Lucas Wiman Date: Mon, 2 Jan 2017 18:52:00 -0800 Subject: Add moves for getoutput and getstatusoutput. --- six.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'six.py') diff --git a/six.py b/six.py index 0bf7eb7..a78e605 100644 --- a/six.py +++ b/six.py @@ -241,6 +241,8 @@ _moved_attributes = [ MovedAttribute("map", "itertools", "builtins", "imap", "map"), MovedAttribute("getcwd", "os", "os", "getcwdu", "getcwd"), MovedAttribute("getcwdb", "os", "os", "getcwd", "getcwdb"), + MovedAttribute("getstatusoutput", "commands", "subprocess"), + MovedAttribute("getoutput", "commands", "subprocess"), MovedAttribute("range", "__builtin__", "builtins", "xrange", "range"), MovedAttribute("reload_module", "__builtin__", "importlib" if PY34 else "imp", "reload"), MovedAttribute("reduce", "__builtin__", "functools"), -- cgit v1.2.1