Commits

Anonymous committed 6b47fb0

Finalized repairs on checkmix

  • Participants
  • Parent commits 39afc5f

Comments (0)

Files changed (1)

djaboto/management/commands/checkmix.py

     DIR_DATACONF_NEW = os.path.join('/home', getuser(), '.soupmix', args.site_name)
     if not os.path.exists(DIR_DATACONF_NEW):
         print DIR_DATACONF_NEW
+        fab_api.env.host_string = 'localhost'
+        fab_api.env['user'] = getuser()
         # fab_api.run('python manage.py migrate --verbosity=0')
         fab_api.run('mkdir -p %s' % DIR_DATACONF_NEW)
         fab_api.run('mv %s/grape_data.sh %s' % (DIR_BIN, DIR_DATACONF_NEW))
         check_call(['mv', '%s/nymph_data.sh' % DIR_BIN, DIR_DATACONF_NEW])
     localhost_datafile = os.path.join(DIR_DATACONF_NEW, '%s_data.sh' % gethostname())
     fab_api.env.host_string = 'localhost'
+    fab_api.env['user'] = getuser()
     if os.path.exists(localhost_datafile):
         print localhost_datafile
         print os.path.exists(localhost_datafile)