Gentoo Archives: gentoo-commits

From: Pavlos Ratis <dastergon@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/
Date: Sat, 01 Mar 2014 17:50:03
Message-Id: 1393685132.c07db99e65867e54fae59eabd64e9281956fe2b6.dastergon@gentoo
1 commit: c07db99e65867e54fae59eabd64e9281956fe2b6
2 Author: Pavlos Ratis <dastergon <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 1 14:45:32 2014 +0000
4 Commit: Pavlos Ratis <dastergon <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 1 14:45:32 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=c07db99e
7
8 rename filename var since it is removed from func args
9
10 ---
11 gkeys/actions.py | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/gkeys/actions.py b/gkeys/actions.py
15 index 25013b3..8d381db 100644
16 --- a/gkeys/actions.py
17 +++ b/gkeys/actions.py
18 @@ -39,10 +39,10 @@ class Actions(object):
19 if not seeds and not seedfile:
20 self.logger.error("ACTIONS: load_seeds; no filename to load: "
21 "setting = %s. Please use the -s option to indicate: which seed "
22 - "file to use." % filename)
23 + "file to use." % seedfile)
24 return None
25 if seeds:
26 - filepath = self.config.get_key(filename + "-seedfile")
27 + filepath = self.config.get_key(seeds + "-seedfile")
28 elif seedfile:
29 filepath = os.path.join(self.config.get_key('seedsdir'),
30 '%s.seeds' % seedfile)