vnc sessions don't have an arch

git-svn-id: file:///home/svn/framework3/trunk@12352 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-04-18 16:53:58 +00:00
parent 99d5affbc7
commit debc16bea5
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ class DBManager
wspace = opts[:workspace] || find_workspace(session.workspace)
h_opts = { }
h_opts[:host] = normalize_host(session)
h_opts[:arch] = session.arch if session.arch
h_opts[:arch] = session.arch if session.respond_to?(:arch) and session.arch
h_opts[:workspace] = wspace
host = find_or_create_host(h_opts)
sess_data = {