* [gentoo-commits] proj/portage:master commit in: pym/portage/sync/modules/cvs/
@ 2015-11-24 2:46 99% Arfrever Frehtes Taifersar Arahesis
0 siblings, 0 replies; 1+ results
From: Arfrever Frehtes Taifersar Arahesis @ 2015-11-24 2:46 UTC (permalink / raw
To: gentoo-commits
commit: 628aa100a480dfcb5fe0edeb1fcd6ea6f4b933a2
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Tue Nov 24 02:43:28 2015 +0000
Commit: Arfrever Frehtes Taifersar Arahesis <arfrever <AT> apache <DOT> org>
CommitDate: Tue Nov 24 02:43:28 2015 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=628aa100
portage.sync.modules.cvs.CheckCVSConfig.check_cvs_repo(): Fix "KeyError: 'sync-cvs-repo'".
pym/portage/sync/modules/cvs/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pym/portage/sync/modules/cvs/__init__.py b/pym/portage/sync/modules/cvs/__init__.py
index 952053a..0cf6067 100644
--- a/pym/portage/sync/modules/cvs/__init__.py
+++ b/pym/portage/sync/modules/cvs/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2014 Gentoo Foundation
+# Copyright 2014-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
doc = """CVS plug-in module for portage.
@@ -18,7 +18,7 @@ class CheckCVSConfig(CheckSyncConfig):
def check_cvs_repo(self):
- if self.repo.module_specific_options['sync-cvs-repo'] is None:
+ if self.repo.module_specific_options.get('sync-cvs-repo') is None:
writemsg_level("!!! %s\n" %
_("Repository '%s' has sync-type=cvs, but is missing sync-cvs-repo attribute")
% self.repo.name, level=self.logger.ERROR, noiselevel=-1)
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-11-24 2:46 99% [gentoo-commits] proj/portage:master commit in: pym/portage/sync/modules/cvs/ Arfrever Frehtes Taifersar Arahesis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox