From 03697520c1dc2bef94c6e41e5da6ab3f11fcd91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik.tjader@gmail.com> Date: Wed, 4 Mar 2015 10:39:28 +0100 Subject: [PATCH] Removed useless stuff --- catDB.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/catDB.py b/catDB.py index 33df663..2f13783 100644 --- a/catDB.py +++ b/catDB.py @@ -1,7 +1,5 @@ # pymongo for MongoDB support import pymongo -# For timestamping in MongoDB -import datetime #pymongo connect DBConHost = 'localhost' @@ -13,12 +11,6 @@ DBCon = pymongo.MongoClient(DBConHost, DBConPort) DB = DBCon[DBName] DBTableStability = DB[DBTableName] -#post = { - ##"timestamp" : int(time.time()), -##Not needed since first 4bits of _id is timestamp - #"stability" : mos, - #"position" : False # Position appended here -#} - +# Print all posts in the mongoDB for post in DBTableStability.find(): print(post) -- GitLab