X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=cumulus-store;h=93a10d7bd224d6b5da654028678f6c1f8a3ef454;hp=327546715779ad272dde8ac69a5e401f38ae8cb4;hb=HEAD;hpb=a44f5f73e7b43ff152f8b515a74bb9e0b1b48cc6 diff --git a/cumulus-store b/cumulus-store index 3275467..93a10d7 100755 --- a/cumulus-store +++ b/cumulus-store @@ -1,5 +1,23 @@ #!/usr/bin/python # +# Cumulus: Efficient Filesystem Backup to the Cloud +# Copyright (C) 2008, 2010 The Cumulus Developers +# See the AUTHORS file for a list of contributors. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + # Generic storage hook for writing LBS backups directly to Amazon's Simple # Storage Service (S3), or any other service supported by the Python storage # implementation. @@ -14,6 +32,8 @@ # written to stdout, which is either "OK" (for success) or "ERR" (if an error # occurred). +from __future__ import division, print_function, unicode_literals + import os, sys, traceback # Automatically set Python path, based on script directory. This should be