Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2008-12-02 13:46:55 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2008-12-02 13:46:55 (GMT)
commit3d9adae43d749273bd8c8dc7da79d0c84234aea7 (patch)
treeca890bb1e68a0a0cffed5940a7019eef5bbb36a0 /src
parent37a11ccf825f8540f3c01611da8d9357c1fe1503 (diff)
Add a TODO comment
Diffstat (limited to 'src')
-rw-r--r--src/jarabe/journal/model.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jarabe/journal/model.py b/src/jarabe/journal/model.py
index dc648e5..375345a 100644
--- a/src/jarabe/journal/model.py
+++ b/src/jarabe/journal/model.py
@@ -351,8 +351,9 @@ def write(metadata, file_path='', update_mtime=True):
return object_id
def _get_file_name(title, mime_type):
- # TODO: sanitize title and make as robust as possible, this function should
- # never fail
+ # TODO: sanitize title for common filesystems
+ # TODO: make as robust as possible, this function should never fail.
+ # TODO: don't append the same extension again and again
return '%s.%s' % (title, mime.get_primary_extension(mime_type))
created = dispatch.Signal()