Make filestorage available to code that only imports storage.
authorBrett Smith <brettcsmith@brettcsmith.org>
Sun, 8 Jul 2012 14:30:55 +0000 (10:30 -0400)
committerBrett Smith <brettcsmith@brettcsmith.org>
Sun, 8 Jul 2012 14:30:55 +0000 (10:30 -0400)
The storage-related tests were relying on this, if nothing else.

mediagoblin/storage/__init__.py

index 3df56c2ed00d14ea252acd65eb3351ecde02fac8..2db4c37db71c5c835f24f260fffa500bffd02e9c 100644 (file)
@@ -248,3 +248,5 @@ def storage_system_from_config(config_section):
 
     storage_class = common.import_component(storage_class)
     return storage_class(**config_params)
+
+import filestorage