Skip to content

Commit

Permalink
Bug fix: When mounts not found and not using git, just mount the remo…
Browse files Browse the repository at this point in the history
…te to the working dir
  • Loading branch information
macropin committed Jul 7, 2015
1 parent ae25a9c commit 4cf191a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion voltgrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ def handle(self):
mounts_list = self.get_mounts(mount_file_path)
else:
# Mount working_dir to remote_dir
mounts_list = ((self.remote, self.base))
mounts_list = list()
mounts_list.append((self.remote, self.base))

for (remote_dir, mount_dir) in mounts_list:
# Some check to ensure mount_dir (local) is not going into a remote dir
Expand Down

0 comments on commit 4cf191a

Please sign in to comment.