Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add support for current working directory as project dir.

  • Loading branch information...
commit 55ebf170d896a0146f6c1f739b1fa739e0664da3 1 parent bc6739a
Anders Fajerson perifer authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  fabric/fabfile.py
3  fabric/fabfile.py
View
@@ -225,7 +225,8 @@ def get_project_dir(project):
# Match a subfolder of projects_dir in the current working directory.
project_dir = re.match("(%s[^%s]*)" % (parent, os.sep), cwd).group(0)
except:
- abort("This doesn't seem to be a project directory.")
+ # Fall back to current working directory.
+ project_dir = cwd
return project_dir
Please sign in to comment.
Something went wrong with that request. Please try again.