Skip to content

Commit

Permalink
qad=False wasn't working properly when detecting migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
acatton committed Oct 29, 2015
1 parent 6ee6b84 commit 1e31ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fusionbox/fabric/django/new.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def is_there_a_diff(file1, file2):

def count_migrations(directory):
with hide('stdout'):
migrations_list = run('find . -path "{}/*/migrations/*.py" -print0'.format(directory))
migrations_list = run('find . -path "./{}/*/migrations/*.py" -print0'.format(directory))
return len(migrations_list.split('\0'))


Expand Down

1 comment on commit 1e31ce1

@acatton
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant qad=True

Please sign in to comment.