diff options
author | Zac Medico <zmedico@gentoo.org> | 2013-01-03 15:04:40 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-01-03 15:04:40 -0800 |
commit | cbbab21dfdd9bee79cddaaac12d7ea5890674d81 (patch) | |
tree | a1b5a51ee92419e30528ec416892b1139ef24e7e /bin/fixpackages | |
parent | 400a2a983b374ec54e7b574789d1f94752581b81 (diff) | |
download | portage-cbbab21dfdd9bee79cddaaac12d7ea5890674d81.tar.gz portage-cbbab21dfdd9bee79cddaaac12d7ea5890674d81.tar.bz2 portage-cbbab21dfdd9bee79cddaaac12d7ea5890674d81.zip |
Add portage._internal_caller var, and use it.
Diffstat (limited to 'bin/fixpackages')
-rwxr-xr-x | bin/fixpackages | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/fixpackages b/bin/fixpackages index da08520e5..e224b62c2 100755 --- a/bin/fixpackages +++ b/bin/fixpackages @@ -1,5 +1,5 @@ #!/usr/bin/python -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from __future__ import print_function @@ -11,6 +11,7 @@ from os import path as osp pym_path = osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym") sys.path.insert(0, pym_path) import portage +portage._internal_caller = True from portage import os from portage.output import EOutput from textwrap import wrap |