aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-01-03 15:04:40 -0800
committerZac Medico <zmedico@gentoo.org>2013-01-03 15:04:40 -0800
commitcbbab21dfdd9bee79cddaaac12d7ea5890674d81 (patch)
treea1b5a51ee92419e30528ec416892b1139ef24e7e /bin/glsa-check
parentportdbapi: use global_event_loop when safe (diff)
downloadportage-cbbab21dfdd9bee79cddaaac12d7ea5890674d81.tar.gz
portage-cbbab21dfdd9bee79cddaaac12d7ea5890674d81.tar.bz2
portage-cbbab21dfdd9bee79cddaaac12d7ea5890674d81.zip
Add portage._internal_caller var, and use it.
Diffstat (limited to 'bin/glsa-check')
-rwxr-xr-xbin/glsa-check3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/glsa-check b/bin/glsa-check
index b3eb14689..ed0df3586 100755
--- a/bin/glsa-check
+++ b/bin/glsa-check
@@ -1,5 +1,5 @@
#!/usr/bin/python
-# Copyright 2008-2012 Gentoo Foundation
+# Copyright 2008-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from __future__ import print_function
@@ -10,6 +10,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 *