Skip to content

Commit

Permalink
oh, pep8.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Kegel committed Apr 23, 2014
1 parent 222361a commit cd80e6e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions master/buildbot/db/enginestrategy.py
Expand Up @@ -23,10 +23,10 @@
"""

import migrate
import os
import re
import sqlalchemy as sa
import migrate

from buildbot.util import sautils
from sqlalchemy.engine import strategies
Expand All @@ -42,6 +42,7 @@ class ReconnectingListener(object):
def __init__(self):
self.retried = False


def get_sqlalchemy_migrate_version():
# sqlalchemy-migrate started including a version number in 0.7
# Borrowed from model.py
Expand Down Expand Up @@ -194,7 +195,7 @@ def check_sqlalchemy_version(self):
mvt = get_sqlalchemy_migrate_version()
if mvt < (0, 8, 0):
raise RuntimeError("SQLAlchemy version %s is not supported by "
"SQLAlchemy-Migrate version %d.%d.%d" % (version,mvt[0],mvt[1],mvt[2]))
"SQLAlchemy-Migrate version %d.%d.%d" % (version, mvt[0], mvt[1], mvt[2]))

def create(self, name_or_url, **kwargs):
if 'basedir' not in kwargs:
Expand Down

0 comments on commit cd80e6e

Please sign in to comment.