]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
allow symbols for ObjectList lookup
authorelijah <elijah@riseup.net>
Sun, 4 Nov 2012 21:15:26 +0000 (13:15 -0800)
committerelijah <elijah@riseup.net>
Sun, 4 Nov 2012 21:15:26 +0000 (13:15 -0800)
lib/leap_cli/config/manager.rb
lib/leap_cli/config/object_list.rb

index 8a4a617181e4adf86c90ff24c80860d19387a3bb..88f21beda899a701794bdafdd1889cabafd7d005 100644 (file)
@@ -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)
index bcc000df54065b78ccfb51669a79cb131ab573e2..708afc11e63e154b77054ee8aed2e438f5b06e5f 100644 (file)
@@ -42,7 +42,7 @@ module LeapCli
           end
           results
         else
-          super
+          super key.to_s
         end
       end