Do not check if .git folder exists

git commands will fail anyway if not present
This commit is contained in:
David-Wobrock committed 2019-01-04 21:42:39 +01:00
1 parent 99534e4eb9
commit 574af4b7fe
3 files changed
+3 -28

No files matched your search

-5
View File
@@ -25,11 +25,6 @@ def is_django_project(path):
return os.path.isfile(django_manage_file)
def is_git_project(path):
git_directory = os.path.join(path, ".git")
return os.path.isdir(git_directory)
def is_directory(path):
return os.path.isdir(path)