commit: 85c559a59f15376aa9c68abd0b0f8ca3dfb0923b Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org> AuthorDate: Tue Mar 24 23:05:31 2015 +0000 Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org> CommitDate: Tue Mar 24 23:05:34 2015 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=85c559a5
updater.py: Removes unnecessary else in create_repos_conf() An else statement which results in a false negative is being removed. layman/updater.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/layman/updater.py b/layman/updater.py index 02e85c7..521f9b3 100644 --- a/layman/updater.py +++ b/layman/updater.py @@ -199,9 +199,6 @@ class Main(object): % conf_dir) self.output.error(' "%s"' % e) return None - else: - msg = str(conf_dir) + ' is a directory.' - self.output.error(' create_repos_conf() error: %s\n' % msg) layman_inst = LaymanAPI(config=self.config) overlays = {}