Skip to content

Commit

Permalink
rollback db to undo any goofiness caused by looking for a nonexistent…
Browse files Browse the repository at this point in the history
… table
  • Loading branch information
cotto committed Sep 3, 2010
1 parent e12d18d commit 84eac6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions github/github.py
Expand Up @@ -60,6 +60,7 @@ def environment_needs_upgrade(self, db):
return False
return True
except:
db.rollback()
return True

def upgrade_environment(self, db):
Expand Down

0 comments on commit 84eac6c

Please sign in to comment.