Fix minor bugs.

This commit is contained in:
Glenn Y. Rolland 2015-08-17 00:14:53 +02:00
parent 922ebbb0b1
commit 6472372d53
2 changed files with 2 additions and 1 deletions

View file

@ -65,7 +65,7 @@ module Qasim ; module Map
line = line.strip line = line.strip
linect += 1 linect += 1
line = env_substitute(line, linect) line = env_substitute(line)
case line case line
when /^\s*TYPE\s*=\s*(.*)\s*$/ then when /^\s*TYPE\s*=\s*(.*)\s*$/ then

View file

@ -35,6 +35,7 @@ class Qasim::Map::Ssh < Qasim::Map::Generic
# Set defaults properties for maps # Set defaults properties for maps
# #
def initialize config, map_path def initialize config, map_path
super
@config = config @config = config
@path = map_path @path = map_path
@host = nil @host = nil