diff --git a/bin/swift-config b/bin/swift-config index 25d91e984e..56d6f7589e 100755 --- a/bin/swift-config +++ b/bin/swift-config @@ -1,4 +1,16 @@ #!/usr/bin/env python +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. import optparse import os diff --git a/bin/swift-form-signature b/bin/swift-form-signature index 08a5adce53..91c76699f0 100755 --- a/bin/swift-form-signature +++ b/bin/swift-form-signature @@ -1,4 +1,16 @@ #!/usr/bin/env python +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. import hmac from hashlib import sha1 diff --git a/bin/swift-oldies b/bin/swift-oldies index 4012ba7811..46263ab95d 100755 --- a/bin/swift-oldies +++ b/bin/swift-oldies @@ -1,4 +1,16 @@ #!/usr/bin/env python +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. import optparse import subprocess diff --git a/bin/swift-orphans b/bin/swift-orphans index baf8be73ca..d6cf2d0801 100755 --- a/bin/swift-orphans +++ b/bin/swift-orphans @@ -1,4 +1,16 @@ #!/usr/bin/env python +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. import optparse import os diff --git a/bin/swift-recon b/bin/swift-recon index 62f18aa275..dc9ea7c656 100755 --- a/bin/swift-recon +++ b/bin/swift-recon @@ -1,4 +1,17 @@ #! /usr/bin/env python +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ cmdline utility to perform cluster reconnaissance """ diff --git a/bin/swift-recon-cron b/bin/swift-recon-cron index 55bf36abf2..81edc636cb 100755 --- a/bin/swift-recon-cron +++ b/bin/swift-recon-cron @@ -1,4 +1,17 @@ #!/usr/bin/env python +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + """ swift-recon-cron.py """ diff --git a/bin/swift-temp-url b/bin/swift-temp-url index 1448f2601d..60576c9931 100755 --- a/bin/swift-temp-url +++ b/bin/swift-temp-url @@ -1,4 +1,16 @@ #!/usr/bin/env python +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. import hmac from hashlib import sha1 diff --git a/swift/proxy/controllers/__init__.py b/swift/proxy/controllers/__init__.py index cb50226734..327376016c 100644 --- a/swift/proxy/controllers/__init__.py +++ b/swift/proxy/controllers/__init__.py @@ -1,3 +1,16 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from swift.proxy.controllers.base import Controller from swift.proxy.controllers.obj import ObjectController from swift.proxy.controllers.account import AccountController