From 4426fbee48348b4407a6f204055c383c13cd3d2b Mon Sep 17 00:00:00 2001 From: root Date: Fri, 13 Jan 2023 17:19:49 +0300 Subject: [PATCH] =?UTF-8?q?TG-127=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B8?= =?UTF-8?q?=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/{ => update}/__init__.py | 0 pym/{ => update}/datavars.py | 0 pym/{ => update}/emerge_parser.py | 0 pym/{ => update}/profile.py | 0 pym/{ => update}/update.py | 0 pym/{ => update}/update_info.py | 0 pym/{ => update}/update_tasks.py | 0 pym/{ => update}/utils/__init__.py | 0 pym/{ => update}/utils/cl_setup_update.py | 0 pym/{ => update}/utils/cl_update.py | 0 pym/{ => update}/utils/cl_update_profile.py | 0 pym/{ => update}/variables/__init__.py | 0 pym/{ => update}/variables/action.py | 0 pym/{ => update}/variables/update.py | 4 ++-- pym/{ => update}/wsdl_update.py | 0 15 files changed, 2 insertions(+), 2 deletions(-) rename pym/{ => update}/__init__.py (100%) rename pym/{ => update}/datavars.py (100%) rename pym/{ => update}/emerge_parser.py (100%) rename pym/{ => update}/profile.py (100%) rename pym/{ => update}/update.py (100%) rename pym/{ => update}/update_info.py (100%) rename pym/{ => update}/update_tasks.py (100%) rename pym/{ => update}/utils/__init__.py (100%) rename pym/{ => update}/utils/cl_setup_update.py (100%) rename pym/{ => update}/utils/cl_update.py (100%) rename pym/{ => update}/utils/cl_update_profile.py (100%) rename pym/{ => update}/variables/__init__.py (100%) rename pym/{ => update}/variables/action.py (100%) rename pym/{ => update}/variables/update.py (99%) rename pym/{ => update}/wsdl_update.py (100%) diff --git a/pym/__init__.py b/pym/update/__init__.py similarity index 100% rename from pym/__init__.py rename to pym/update/__init__.py diff --git a/pym/datavars.py b/pym/update/datavars.py similarity index 100% rename from pym/datavars.py rename to pym/update/datavars.py diff --git a/pym/emerge_parser.py b/pym/update/emerge_parser.py similarity index 100% rename from pym/emerge_parser.py rename to pym/update/emerge_parser.py diff --git a/pym/profile.py b/pym/update/profile.py similarity index 100% rename from pym/profile.py rename to pym/update/profile.py diff --git a/pym/update.py b/pym/update/update.py similarity index 100% rename from pym/update.py rename to pym/update/update.py diff --git a/pym/update_info.py b/pym/update/update_info.py similarity index 100% rename from pym/update_info.py rename to pym/update/update_info.py diff --git a/pym/update_tasks.py b/pym/update/update_tasks.py similarity index 100% rename from pym/update_tasks.py rename to pym/update/update_tasks.py diff --git a/pym/utils/__init__.py b/pym/update/utils/__init__.py similarity index 100% rename from pym/utils/__init__.py rename to pym/update/utils/__init__.py diff --git a/pym/utils/cl_setup_update.py b/pym/update/utils/cl_setup_update.py similarity index 100% rename from pym/utils/cl_setup_update.py rename to pym/update/utils/cl_setup_update.py diff --git a/pym/utils/cl_update.py b/pym/update/utils/cl_update.py similarity index 100% rename from pym/utils/cl_update.py rename to pym/update/utils/cl_update.py diff --git a/pym/utils/cl_update_profile.py b/pym/update/utils/cl_update_profile.py similarity index 100% rename from pym/utils/cl_update_profile.py rename to pym/update/utils/cl_update_profile.py diff --git a/pym/variables/__init__.py b/pym/update/variables/__init__.py similarity index 100% rename from pym/variables/__init__.py rename to pym/update/variables/__init__.py diff --git a/pym/variables/action.py b/pym/update/variables/action.py similarity index 100% rename from pym/variables/action.py rename to pym/update/variables/action.py diff --git a/pym/variables/update.py b/pym/update/variables/update.py similarity index 99% rename from pym/variables/update.py rename to pym/update/variables/update.py index 9a7d638..fa7087a 100644 --- a/pym/variables/update.py +++ b/pym/update/variables/update.py @@ -688,8 +688,8 @@ class VariableClUpdateOtherGitExists(Variable): def get(self): repos = self.Get(self.repos_path) - for repo in listDirectory(repos): - if not os.path.exists(os.path.join(repos, os.path.join(repo, '.git'))): + for rep in listDirectory(repos): + if not os.path.exists(os.path.join(repos, os.path.join(rep, '.git'))): return False return True diff --git a/pym/wsdl_update.py b/pym/update/wsdl_update.py similarity index 100% rename from pym/wsdl_update.py rename to pym/update/wsdl_update.py