Permalink
Browse files

@olasd is also expecting this to be top-level.

  • Loading branch information...
1 parent 07ade12 commit b7a85a3f7f03ca4137c85cde56d392b3eae08709 @ralphbean ralphbean committed Feb 28, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 fedmsg/commands/config.py
@@ -91,8 +91,8 @@ def config():
cur = config
if args.query:
- cur = fedmsg.utils.dict_query(cur, args.query)
- if cur[args.query] is None:
+ cur = fedmsg.utils.dict_query(cur, args.query)[args.query]
+ if cur is None:
print >>sys.stderr, (
"Key `%s` does not exist in config" % args.query)
sys.exit(1)

0 comments on commit b7a85a3

Please sign in to comment.