self._sets[s] = expanded_set
args.append(SetArg(arg=x, set=expanded_set,
root_config=root_config))
- myfavorites.append(x)
+ if sets[s].world_candidate:
+ myfavorites.append(x)
continue
if not is_valid_package_atom(x):
portage.writemsg("\n\n!!! '%s' is not a valid package atom.\n" % x,
print header_title.rjust(int(header_width/2 + len(header_title)/2))
print header_width * "="
print "System uname: "+unameout
+
lastSync = portage.grabfile(os.path.join(
settings["PORTDIR"], "metadata", "timestamp.chk"))
print "Timestamp of tree:",
return _chflags(path, flags, opts="-h")
bsd_chflags.chflags = _chflags
bsd_chflags.lchflags = _lchflags
- if not hasattr(os.lstat("/"), "st_flags"):
- sys.stderr.write("WARNING: BSD chflags are disabled since the st_flags attribute is missing!\n")
- sys.stderr.flush()
- bsd_chflags = None
try:
from portage.cache.cache_errors import CacheError