diff --git a/pym/update/update.py b/pym/update/update.py index ca6dc59..1e06d2f 100644 --- a/pym/update/update.py +++ b/pym/update/update.py @@ -232,7 +232,7 @@ class Update(MethodsInterface): status = git.getStatusInfo(rpath) if not status or status['files']: need_update = True - + except GitError as e: need_update = True diff --git a/pym/update/variables/update.py b/pym/update/variables/update.py index f6e73a5..419391d 100644 --- a/pym/update/variables/update.py +++ b/pym/update/variables/update.py @@ -194,12 +194,6 @@ class VariableClUpdateRepPath(ReadonlyVariable): type = "list" mapPath = {'portage': 'usr/portage', 'gentoo': 'usr/portage'} - #if os.path.isdir('/var/db/repos/gentoo'): - # mapPath = {'portage': 'var/db/repos/gentoo', - # 'gentoo': 'var/db/repos/gentoo'} - #else: - # mapPath = {'portage': 'usr/portage', - # 'gentoo': 'usr/portage'} def get(self): repPath = self.Get('cl_update_repos_storage')