diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-04-09 14:08:07 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-04-09 14:08:07 -0500 |
commit | ef10e3a2c783d0ac54383e2c659eb9660996535e (patch) | |
tree | 78511ba978f2bee3d239672862f7be26d46e413b | |
parent | 0b9cf289c3f479ba1acb728b5aa6ec2e1d8b4e49 (diff) | |
download | mediagoblin-ef10e3a2c783d0ac54383e2c659eb9660996535e.tar.lz mediagoblin-ef10e3a2c783d0ac54383e2c659eb9660996535e.tar.xz mediagoblin-ef10e3a2c783d0ac54383e2c659eb9660996535e.zip |
u'string', but of course ;)
-rw-r--r-- | mediagoblin/storage.py | 2 |
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])] |