From 527c61310361463b02340b7ddc376c5d61594104 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 13 Jul 2013 11:23:32 +0200 Subject: [PATCH] Set portage._working_copy bool variable. --- pym/portage/__init__.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2