Permalink
Browse files

ignore hidden files in db directory

  • Loading branch information...
1 parent a2df62c commit 9fe10a3e52d471918ba515363b54636a68f6e6d6 @Gautier Gautier committed with paltman Jan 24, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 nashvegas/management/commands/upgradedb.py
@@ -68,6 +68,8 @@ def _filter_down(self, stop_at=None):
applied.append(x.migration_label)
in_directory = os.listdir(self.path)
+ in_directory = [migration for migration in in_directory if
+ not migration.startswith(".")]
in_directory.sort()
applied.sort()

0 comments on commit 9fe10a3

Please sign in to comment.