# Path: lacli/log.py
# def getLogger(logger='lacli'):
#     return lacore.log.getLogger(logger)


import urllib
import re
from lacli.log import getLogger
from urlparse import urlparse



def archive_capsule(docs):
    links = docs.get('links')
    if links is None or not links.upload:
        return None

# Path: lacli/log.py
# def getLogger(logger='lacli'):
#     return lacore.log.getLogger(logger)


# Path: lacli/capsule.py
import urllib
import re
from lacli.log import getLogger
from urlparse import urlparse




def archive_capsule(docs):
    links = docs.get('links')
    if links is None or not links.upload:
        return None

    try: