Commits

Mikhail Korobov  committed e97d9cb

Allow empty env.conf

  • Participants
  • Parent commits 9cc13cf

Comments (0)

Files changed (1)

File fab_deploy/utils.py

     assert len(env.hosts)==1, "Multiple hosts in env.hosts are not supported now. (%s)" % env.hosts
     user, host, port = normalize(env.hosts[0])
 
+    env.conf = getattr(env, 'conf', {})
+
     HOME_DIR = '/home/%s' % user
     if 'INSTANCE_NAME' not in env.conf:
         env.conf['INSTANCE_NAME'] = user