aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools/staticdirect.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/tools/staticdirect.py')
-rw-r--r--mediagoblin/tools/staticdirect.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/mediagoblin/tools/staticdirect.py b/mediagoblin/tools/staticdirect.py
index 7477de68..4143b453 100644
--- a/mediagoblin/tools/staticdirect.py
+++ b/mediagoblin/tools/staticdirect.py
@@ -56,20 +56,3 @@ class RemoteStaticDirect(StaticDirect):
def get(self, filepath):
return '%s/%s' % (
self.remotepath, filepath.lstrip('/'))
-
-
-class MultiRemoteStaticDirect(StaticDirect):
- """
- For whene separate sections of the static data is served under
- separate urls.
- """
- def __init__(self, remotepaths):
- StaticDirect.__init__(self)
- self.remotepaths = remotepaths
-
- def get(self, filepath):
- section, rest = filepath.strip('/').split('/', 1)
-
- return '%s/%s' % (
- self.remotepaths[section].rstrip('/'),
- rest.lstrip('/'))