Commits

Ronny Pfannschmidt  committed c5d6825

typos and other fixes

  • Participants
  • Parent commits 02ef0d8

Comments (0)

Files changed (2)

File filetrack/load.py

 @appcommand
 def load(db, filename):
     with open(filename) as fp:
-        items = [line.decode('utf-8', 'replace').split('  ', 1) for line in fp]
+        items = [line.decode('utf-8', 'replace').strip().split('  ', 1) for line in fp]
     db.executemany(IMPORT, items)
     db.commit()

File filetrack/utils.py

     return _micromigrate(dbname, missing_migrations)
 
 def do_migrate(dbname):
-    _micromigrate(sbname, apply_migrations)
+    _micromigrate(dbname, apply_migrations)
 
 def _micromigrate(dbname, command):
     here = py.path.local(__file__).dirpath().join('migrations')