summaryrefslogtreecommitdiff
path: root/alembic/script.py
diff options
context:
space:
mode:
authorDaniel Haaker <d.haaker@gmail.com>2012-10-21 00:08:58 +0200
committerDaniel Haaker <d.haaker@gmail.com>2012-10-21 00:08:58 +0200
commit4b9229b0f851d429f70d5ef7620a4302c493a89b (patch)
treeee8553c523bdfe0bad2588bc73d360af21fd5eb8 /alembic/script.py
parent894afbf83c3aba783519358ac82e9c7114282701 (diff)
downloadalembic-4b9229b0f851d429f70d5ef7620a4302c493a89b.tar.gz
Fix bug with minute component in file_template and make sure it is tested correctly
Diffstat (limited to 'alembic/script.py')
-rw-r--r--alembic/script.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alembic/script.py b/alembic/script.py
index b411fb9..68d266e 100644
--- a/alembic/script.py
+++ b/alembic/script.py
@@ -227,7 +227,7 @@ class ScriptDirectory(object):
'month': create_date.month,
'day': create_date.day,
'hour': create_date.hour,
- 'minute': create_date.month,
+ 'minute': create_date.minute,
'second': create_date.second
}
)