commit: 6ba837fd87ba520b92a11b1e7aca01e057134c72
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 7 18:32:20 2015 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Jul 7 18:32:20 2015 +0000
URL: https://gitweb.gentoo.org/proj/grs.git/commit/?id=6ba837fd
scripts/cycle.1.py: need to import portage.
scripts/cycle.1.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/cycle.1.py b/scripts/cycle.1.py
index 2534c25..6e3211a 100644
--- a/scripts/cycle.1.py
+++ b/scripts/cycle.1.py
@@ -3,7 +3,7 @@
import os
import re
-from portage import settings
+import portage
from grs.Execute import Execute
def scan_profile_stack(pfile):
@@ -30,7 +30,7 @@ def get_blist():
return ' '.join(blist)
-use_flags = '-* bindist build %s' % settings['BOOTSTRAP_USE']
+use_flags = '-* bindist build %s' % portage.settings['BOOTSTRAP_USE']
subchroot = '/tmp/stage1root'
cpu_flags = 'mmx sse sse2'
emerge_env = { 'USE' : use_flags, 'ROOT' : subchroot, 'CPU_FLAGS_X86' :
cpu_flags }