env.project_root = "./"
env.develop = False
env.autoremove = True
-env.packages = ['snf-pithos-lib', 'snf-pithos-app',
- 'snf-pithos-tools', 'snf-pithos-backend', ]
+env.packages = ['snf-pithos-lib', 'snf-pithos-backend', 'snf-pithos-app',
+ 'snf-pithos-tools']
env.deb_packages = ['snf-pithos-lib', 'snf-pithos-backend']
env.capture = False
env.colors = True
synnefo_installed_apps = ['pithos.ui', 'pithos.api']
synnefo_urls = patterns('',
- (r'^pithos', include('pithos.urls')),
+ (r'pithos', include('pithos.urls')),
)
synnefo_middlewares = [
'pithos.middleware.LoggingConfigMiddleware',
# Copyright 2011 GRNET S.A. All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
-#
+#
# 1. Redistributions of source code must retain the above
# copyright notice, this list of conditions and the following
# disclaimer.
-#
+#
# 2. Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials
# provided with the distribution.
-#
+#
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
-#
+#
# The views and conclusions contained in the software and
# documentation are those of the authors and should not be
# interpreted as representing official policies, either expressed
import warnings
-from modular import ModularBackend
+from pithos.backends.modular import ModularBackend
def connect_backend(**kwargs):
finally:
# Restore warnings.
warnings.filters = original_filters
-
+
return backend
+