Created
May 24, 2011 21:29
-
-
Save jbarciauskas/989746 to your computer and use it in GitHub Desktop.
unroot before making the repo dir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[sandboxuser@box42-107 blueprint]$ git diff | |
diff --git a/blueprint/git.py b/blueprint/git.py | |
index 39f7743..c6ea528 100644 | |
--- a/blueprint/git.py | |
+++ b/blueprint/git.py | |
@@ -27,6 +27,7 @@ def init(): | |
""" | |
dirname = repo() | |
try: | |
+ unroot() | |
os.makedirs(dirname) | |
except OSError: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment