Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ignore hidden files in db directory
  • Loading branch information
Gautier authored and paltman committed Feb 14, 2011
1 parent a2df62c commit 9fe10a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nashvegas/management/commands/upgradedb.py
Expand Up @@ -68,6 +68,8 @@ def _filter_down(self, stop_at=None):
applied.append(x.migration_label) applied.append(x.migration_label)


in_directory = os.listdir(self.path) in_directory = os.listdir(self.path)
in_directory = [migration for migration in in_directory if
not migration.startswith(".")]
in_directory.sort() in_directory.sort()
applied.sort() applied.sort()


Expand Down

0 comments on commit 9fe10a3

Please sign in to comment.