[or-cvs] [pytorctl/master] Hrmm, this should have been DateTime all along..

mikeperry at torproject.org mikeperry at torproject.org
Wed Jul 14 07:14:06 UTC 2010


Author: Mike Perry <mikeperry-git at fscked.org>
Date: Wed, 14 Jul 2010 00:11:47 -0700
Subject: Hrmm, this should have been DateTime all along..
Commit: c5da28fbf71b4676ecbb264c50349605d97bfc79

---
 SQLSupport.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/SQLSupport.py b/SQLSupport.py
index 6da5938..e062d38 100644
--- a/SQLSupport.py
+++ b/SQLSupport.py
@@ -63,7 +63,7 @@ class Router(Entity):
   using_mapper_options(save_on_init=False)
   idhex = Field(CHAR(40), primary_key=True, index=True)
   orhash = Field(CHAR(27))
-  published = Field(Time)
+  published = Field(DateTime)
   nickname = Field(Text)
 
   os = Field(Text)
@@ -112,7 +112,7 @@ class BwHistory(Entity):
   bw = Field(Integer)
   desc_bw = Field(Integer)
   rank = Field(Integer)
-  pub_time = Field(Time)
+  pub_time = Field(DateTime)
 
 class Circuit(Entity):
   using_options(shortnames=True, order_by='-launch_time', session=tc_session, metadata=tc_metadata)
-- 
1.7.1



More information about the tor-commits mailing list