diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2015-01-05 00:56:12 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2015-01-05 14:21:53 -0800 |
commit | ccb9e31c253a0f4ae9c096ce571a7c7109a33fd0 (patch) | |
tree | 0c473952143ed1f11b3704f273ae0845d928756d /gkeys-ldap | |
parent | gkeys/seed.py: Fix logic errors in _seeds2json (diff) | |
download | gentoo-keys-ccb9e31c253a0f4ae9c096ce571a7c7109a33fd0.tar.gz gentoo-keys-ccb9e31c253a0f4ae9c096ce571a7c7109a33fd0.tar.bz2 gentoo-keys-ccb9e31c253a0f4ae9c096ce571a7c7109a33fd0.zip |
gkeys, gkeyldap: Update updatefiles() config handling
Add category and filename options, ensure 1 of them is passed in.
Fix logic error that did not report the failure to find the file to update.
Diffstat (limited to 'gkeys-ldap')
-rw-r--r-- | gkeys-ldap/gkeyldap/actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gkeys-ldap/gkeyldap/actions.py b/gkeys-ldap/gkeyldap/actions.py index dde2bc8..4a3db84 100644 --- a/gkeys-ldap/gkeyldap/actions.py +++ b/gkeys-ldap/gkeyldap/actions.py @@ -107,7 +107,7 @@ class Actions(object): self.logger.error("Developer seed file update failure: " "Original seed file is intact & untouched.") self.output('', "Backing up existing file...") - status = updatefiles(self.config, self.logger) + status = updatefiles(self.config, self.logger, args.category) if not status: self.output('', "Develope seed failed to update!") return False |