Skip to content

Commit

Permalink
Remove lookup in parents for now/here
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Jul 26, 2018
1 parent be1989c commit c91fbb3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pytest_django/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ def find_django_path(args):
for arg in args:
if is_django_project(arg):
return arg
for parent in arg.parents:
if is_django_project(parent):
return parent
return None

project_dir = find_django_path(args)
Expand Down

0 comments on commit c91fbb3

Please sign in to comment.