示例#1
0
 def topic(self):
     storage = MongoStorage(Context(config=Config(MONGO_STORAGE_SERVER_PORT=7777)))
     storage.remove(IMAGE_URL % 9999)
     return COLLECTION.find_one({'path': IMAGE_URL % 9999})
示例#2
0
 def topic(self):
     storage = MongoStorage(Context(config=Config(MONGO_STORAGE_SERVER_PORT=7777)))
     storage.remove(IMAGE_URL % 9999)
     return self.parent.parent.collection.find_one({'path': IMAGE_URL % 9999})
示例#3
0
 def topic(self):
     storage = MongoStorage(
         Context(config=Config(MONGO_STORAGE_SERVER_PORT=7777)))
     storage.remove(IMAGE_URL % 9999)
     return COLLECTION.find_one({'path': IMAGE_URL % 9999})
示例#4
0
 def topic(self):
     storage = MongoStorage(
         Context(config=Config(MONGO_STORAGE_SERVER_PORT=7777)))
     storage.remove(IMAGE_URL % 9999)
     return self.parent.parent.collection.find_one(
         {'path': IMAGE_URL % 9999})