Commits

Anonymous committed 6b47fb0

Finalized repairs on checkmix

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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.