From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 13 Jul 2013 09:23:32 +0000 (+0200) Subject: Set portage._working_copy bool variable. X-Git-Tag: v2.2.0_alpha189~61 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=527c61310361463b02340b7ddc376c5d61594104;p=portage.git Set portage._working_copy bool variable. --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 85be13e61..35bf1520f 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -386,6 +386,7 @@ except (ImportError, OSError) as e: _python_interpreter = os.path.realpath(sys.executable) _bin_path = PORTAGE_BIN_PATH _pym_path = PORTAGE_PYM_PATH +_working_copy = VERSION == "HEAD" # Api consumers included in portage should set this to True. _internal_caller = False