diff options
author | elijah <elijah@riseup.net> | 2012-11-04 13:15:26 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-11-04 13:15:26 -0800 |
commit | 9c1dbb14ebf240e3c0cfbc483b164299884b8036 (patch) | |
tree | 8a49fb92f0960d02ab3fbf823495e2d99e7151ab | |
parent | 08b03669c262fd7ea67c7e2e5e5448a98db4ceef (diff) | |
download | leap_cli-9c1dbb14ebf240e3c0cfbc483b164299884b8036.tar.gz leap_cli-9c1dbb14ebf240e3c0cfbc483b164299884b8036.tar.bz2 |
allow symbols for ObjectList lookup
-rw-r--r-- | lib/leap_cli/config/manager.rb | 2 | ||||
-rw-r--r-- | lib/leap_cli/config/object_list.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/leap_cli/config/manager.rb b/lib/leap_cli/config/manager.rb index 8a4a617..88f21be 100644 --- a/lib/leap_cli/config/manager.rb +++ b/lib/leap_cli/config/manager.rb @@ -133,6 +133,8 @@ module LeapCli return Config::Object.new(self) end + progress2("loading %s" % filename) + # # read file, strip out comments # (File.read(filename) would be faster, but we like ability to have comments) diff --git a/lib/leap_cli/config/object_list.rb b/lib/leap_cli/config/object_list.rb index bcc000d..708afc1 100644 --- a/lib/leap_cli/config/object_list.rb +++ b/lib/leap_cli/config/object_list.rb @@ -42,7 +42,7 @@ module LeapCli end results else - super + super key.to_s end end |