Remove stuff I intended to use but never did

This commit is contained in:
Tikitu de Jager 2016-03-07 21:11:34 +02:00
parent 95217e8e21
commit 4065d14fab

View File

@ -14,14 +14,11 @@ from .managers import LogManager
class FileInfo(object):
def __init__(self, title, suffix,
correspondent=None, tags=None,
file_mtime=None, path=None):
correspondent=None, tags=None):
self._title = title
self._suffix = suffix
self._correspondent = correspondent
self._tags = tags
self._file_mtime = file_mtime
self._path = path
REGEX_TITLE = re.compile(
r"^.*/(.*)\.(pdf|jpe?g|png|gif|tiff)$",
@ -90,19 +87,6 @@ class FileInfo(object):
return FileInfo(
title=m.group(1), tags=(), suffix=get_suffix(m.group(2)))
@classmethod
def from_document(cls, document):
pass
def filename(self):
pass
def kwargs_for_document_create(self):
pass
def add_tags(self, tags):
self._tags = set(tags).union(self._tags)
class SluggedModel(models.Model):