app/soc/logic/document.py
changeset 248 95e0b84e71c5
parent 225 2590d6b83568
child 251 8f23804302d0
equal deleted inserted replaced
247:4997b54b0400 248:95e0b84e71c5
    33 import soc.logic.model
    33 import soc.logic.model
    34 
    34 
    35 import soc.models.document
    35 import soc.models.document
    36 import soc.models.work
    36 import soc.models.work
    37 
    37 
    38  
    38 
    39 WORK_PATH_LINKNAME_REGEX = re.compile(key_name.WORK_PATH_LINKNAME_PATTERN)
    39 WORK_PATH_LINKNAME_REGEX = re.compile(key_name.WORK_PATH_LINKNAME_PATTERN)
    40 
    40 
    41 def getPartsFromPath(path):
    41 def getPartsFromPath(path):
    42   """Splits path string into partial_path and link_name.
    42   """Splits path string into partial_path and link_name.
    43   
    43