summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolly <olly@ollycope.com>2015-09-17 12:16:32 +0000
committerolly <olly@ollycope.com>2015-09-17 12:16:32 +0000
commit22251bb73e5214e6c15cd7a4f8b979bca04dd1ba (patch)
tree7fb6f012232d689e3c215d03f6d183454a8c23c3
parent880d58b456ba56db9848ef2914ec90816b07f643 (diff)
downloadyoyo-22251bb73e5214e6c15cd7a4f8b979bca04dd1ba.tar.gz
Fix PEP8 issues
-rw-r--r--yoyo/backends.py1
-rwxr-xr-xyoyo/utils.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/yoyo/backends.py b/yoyo/backends.py
index 0fd621a..012f6ef 100644
--- a/yoyo/backends.py
+++ b/yoyo/backends.py
@@ -373,6 +373,7 @@ class MySQLBackend(DatabaseBackend):
class MySQLdbBackend(DatabaseBackend):
driver_module = 'MySQLdb'
+
def connect(self, dburi):
kwargs = dburi.args
if dburi.username is not None:
diff --git a/yoyo/utils.py b/yoyo/utils.py
index 6ff7f2f..a937b82 100755
--- a/yoyo/utils.py
+++ b/yoyo/utils.py
@@ -49,7 +49,8 @@ except ImportError:
# running yoyo through the python sdk should not require `getch`
try:
from msvcrt import getch
- except: pass
+ except:
+ pass
def prompt(prompt, options):