]> asedeno.scripts.mit.edu Git - bluechips.git/commitdiff
Use the correct object for datetime.now
authorEvan Broder <broder@mit.edu>
Wed, 16 Jul 2008 07:36:07 +0000 (07:36 +0000)
committerEvan Broder <broder@mit.edu>
Wed, 16 Jul 2008 07:36:07 +0000 (07:36 +0000)
This is why my commit bit should automatically be revoked if I'm in a
hurry

bluechips/model/__init__.py

index e251d5099db3bcde35868462202ffc34fcac7096..12e28d81a99d1fe023d361bb92b711f64bb69eb3 100644 (file)
@@ -5,7 +5,7 @@ from sqlalchemy import orm
 from bluechips.model import meta
 from bluechips.model import types
 
-import datetime
+from datetime import datetime
 
 def init_model(engine):
     """Call me before using any of the tables or classes in the model"""