Change "output" import to portage.output.
authorZac Medico <zmedico@gentoo.org>
Sun, 29 Jul 2007 10:12:47 +0000 (10:12 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 29 Jul 2007 10:12:47 +0000 (10:12 -0000)
svn path=/main/trunk/; revision=7426

pym/portage/__init__.py

index e5730203d2b70ed57f60fb2a65b4e676b074cba9..de04a9d1a1aa894a82b7233bbc683f297133fa66 100644 (file)
@@ -2400,7 +2400,7 @@ def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, fakero
                fd_pipes.setdefault(0, sys.stdin.fileno())
                fd_pipes_orig = fd_pipes.copy()
                if got_pty and os.isatty(fd_pipes_orig[1]):
-                       from output import get_term_size, set_term_size
+                       from portage.output import get_term_size, set_term_size
                        rows, columns = get_term_size()
                        set_term_size(rows, columns, slave_fd)
                fd_pipes[0] = fd_pipes_orig[0]