swift/bin/swift-object-updater
Tim Burke 8f9d7db7f1 Use entry_points for a bunch more executables
See https://review.opendev.org/c/openstack/swift/+/918365 for motivation.

A handful of [files]scripts entries still remain, but they're more
involved to change over. These ones were all fairly mechanical to fix.

Related-Change: Ifcc8138e7b55d5b82bea0d411ec6bfcca2c77c83
Change-Id: Ia43d7cd3921bc6c9ff0cee3100ef5f486fd3edcb
2024-07-15 14:56:19 -07:00

21 lines
694 B
Python
Executable File

#!/usr/bin/env python
# Copyright (c) 2010-2012 OpenStack Foundation
#
# 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.obj import updater
if __name__ == '__main__':
updater.main()