# Jeremy Wohl's dispatch-conf script and the portage chkcontents script.
#
+from __future__ import print_function
+
import sys
try:
import portage
# interpreted as pointers. Those are almost guaranteed to cause
# crashes.
#
+
+from __future__ import print_function
+
import re
import sys
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys, errno
try:
import portage
# dialog menus
#
+from __future__ import print_function
+
if not hasattr(__builtins__, "set"):
from sets import Set as set
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
# This block ensures that ^C interrupts are handled quietly.
try:
# - will do as 'dohtml -r', but ignore directories named CVS, SCCS, RCS
#
+from __future__ import print_function
+
import os
import sys
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
# This block ensures that ^C interrupts are handled quietly.
try:
#!/usr/bin/python -O
# vim: noet :
+
+from __future__ import print_function
+
import re
import signal
import sys
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
# This block ensures that ^C interrupts are handled quietly.
try:
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import sys, errno
+from __future__ import print_function
+
+import errno
+import sys
def usage(status):
print("Usage: env-update [--no-ldconfig]")
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import os,sys
os.environ["PORTAGE_CALLER"]="fixpackages"
try:
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
try:
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
+
import sys
# This block ensures that ^C interrupts are handled quietly.
try:
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import errno, signal, sys
+from __future__ import print_function
+
+import errno
+import signal
+import sys
from itertools import izip
try:
# NOTE: this file does not respect ROOT
+from __future__ import print_function
+
import sys
try:
import portage
# Then, check to make sure deps are satisfiable (to avoid "can't find match for" problems)
# that last one is tricky because multiple profiles need to be checked.
+from __future__ import print_function
+
import codecs
import commands
import errno
# Distributed under the terms of the GNU General Public License v2
# $Id$
+from __future__ import print_function
import os, sys
import os.path as osp