get_unique_filepath not get_unique_filename!
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 10 Apr 2011 21:44:47 +0000 (16:44 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 10 Apr 2011 21:44:47 +0000 (16:44 -0500)
mediagoblin/storage.py

index 87435ff2d21430addd9fca897e2189463562393b..ad8f8829dce562da22c63eb16260b4ef30fea5ce 100644 (file)
@@ -112,7 +112,7 @@ class StorageInterface(object):
         # Subclasses should override this method.
         self.__raise_not_implemented()
 
-    def get_unique_filename(self, filepath):
+    def get_unique_filepath(self, filepath):
         """
         If a filename at filepath already exists, generate a new name.