aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-04-09 14:08:07 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-04-09 14:08:07 -0500
commitef10e3a2c783d0ac54383e2c659eb9660996535e (patch)
tree78511ba978f2bee3d239672862f7be26d46e413b
parent0b9cf289c3f479ba1acb728b5aa6ec2e1d8b4e49 (diff)
downloadmediagoblin-ef10e3a2c783d0ac54383e2c659eb9660996535e.tar.lz
mediagoblin-ef10e3a2c783d0ac54383e2c659eb9660996535e.tar.xz
mediagoblin-ef10e3a2c783d0ac54383e2c659eb9660996535e.zip
u'string', but of course ;)
-rw-r--r--mediagoblin/storage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/storage.py b/mediagoblin/storage.py
index 3b6a7a2a..8e62a3a6 100644
--- a/mediagoblin/storage.py
+++ b/mediagoblin/storage.py
@@ -102,7 +102,7 @@ class StorageInterface(object):
But if a file does exist, let's get one back with at uuid tacked on:
>>> storage_handler.get_unique_filename(['dir1', 'dir2', 'fname.jpg'])
- ['dir1', 'dir2', 'd02c3571-dd62-4479-9d62-9e3012dada29-fname.jpg']
+ [u'dir1', u'dir2', u'd02c3571-dd62-4479-9d62-9e3012dada29-fname.jpg']
"""
if self.file_exists(filepath):
return filepath[:-1] + ["%s-%s" % (uuid.uuid4(), filepath[-1])]