u'string', but of course ;)
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 9 Apr 2011 19:08:07 +0000 (14:08 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 9 Apr 2011 19:08:07 +0000 (14:08 -0500)
mediagoblin/storage.py

index 3b6a7a2a21eaad0233be3ae53b2b5706fa77b983..8e62a3a6ad34bfe6030fc7a2c90b3cc73e848391 100644 (file)
@@ -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])]