Beispiel #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})
 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})
Beispiel #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})
Beispiel #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})