Anonymous committed 6b47fb0

Finalized repairs on checkmix

Comments (0)

Files changed (1)


     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()
         #'python migrate --verbosity=0')'mkdir -p %s' % DIR_DATACONF_NEW)'mv %s/ %s' % (DIR_BIN, DIR_DATACONF_NEW))
         check_call(['mv', '%s/' % DIR_BIN, DIR_DATACONF_NEW])
     localhost_datafile = os.path.join(DIR_DATACONF_NEW, '' % 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
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.