Exemplo n.º 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})
Exemplo n.º 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})
Exemplo n.º 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})
Exemplo n.º 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})