Skip to content

Commit abac82e

Browse files
committed
rename imports
1 parent bc65a9d commit abac82e

36 files changed

Lines changed: 150 additions & 139 deletions

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/make -f
22
# -*- makefile -*-
33

4-
export PYBUILD_NAME=xivo
4+
export PYBUILD_NAME=wazo
55
export PYBUILD_DESTDIR_python3=debian/xivo-lib-python-python3/
66
export PYBUILD_DISABLE=test
77

integration_tests/assets/bin/myservice.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright 2016-2023 The Wazo Authors (see the AUTHORS file)
2+
# Copyright 2016-2024 The Wazo Authors (see the AUTHORS file)
33
# SPDX-License-Identifier: GPL-3.0-or-later
44
from __future__ import annotations
55

@@ -13,7 +13,7 @@
1313
import requests
1414
from flask import Flask, Response, jsonify
1515

16-
from xivo.consul_helpers import ServiceCatalogRegistration
16+
from wazo.consul_helpers import ServiceCatalogRegistration
1717

1818
UUID = 'foobar'
1919

integration_tests/assets/bin/thread-exception.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/usr/bin/env python3
2-
# Copyright 2018-2023 The Wazo Authors (see the AUTHORS file)
2+
# Copyright 2018-2024 The Wazo Authors (see the AUTHORS file)
33
# SPDX-License-Identifier: GPL-3.0-or-later
44
from __future__ import annotations
55

66
import threading
77
import time
88
from typing import NoReturn
99

10-
from xivo import xivo_logging
10+
from wazo import xivo_logging
1111

1212
xivo_logging.setup_logging('/dev/null')
1313

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[tool:pytest]
2-
testpaths=xivo
2+
testpaths=wazo

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/usr/bin/env python3
2-
# Copyright 2007-2023 The Wazo Authors (see the AUTHORS file)
2+
# Copyright 2007-2024 The Wazo Authors (see the AUTHORS file)
33
# SPDX-License-Identifier: GPL-3.0-or-later
44

55
from setuptools import find_packages, setup
66

77
setup(
8-
name='xivo',
8+
name='wazo',
99
version='1.0',
10-
description='These are useful python libraries to be used with XIVO code',
10+
description='These are useful python libraries to be used with Wazo code',
1111
author='Wazo Authors',
1212
author_email='dev@wazo.community',
1313
url='http://wazo.community',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ envlist = py39, linters
88

99
[testenv]
1010
commands =
11-
pytest --junitxml=unit-tests.xml --cov=xivo --cov-report term --cov-report xml:coverage.xml xivo {posargs}
11+
pytest --junitxml=unit-tests.xml --cov=wazo --cov-report term --cov-report xml:coverage.xml wazo {posargs}
1212
deps =
1313
-rrequirements.txt
1414
-rtest-requirements.txt

wazo/agitb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2013-2023 The Wazo Authors (see the AUTHORS file)
1+
# Copyright 2013-2024 The Wazo Authors (see the AUTHORS file)
22
# SPDX-License-Identifier: GPL-3.0-or-later
33

44
"""More comprehensive traceback formatting for AGI in Python.
@@ -53,7 +53,7 @@
5353
from typing import TYPE_CHECKING, Any, Callable, NamedTuple, NewType, TextIO
5454

5555
if TYPE_CHECKING:
56-
from xivo.agi import AGI
56+
from wazo.agi import AGI
5757

5858
Undefined = NewType('Undefined', list[str])
5959

wazo/cli/command/exit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Copyright 2013-2023 The Wazo Authors (see the AUTHORS file)
1+
# Copyright 2013-2024 The Wazo Authors (see the AUTHORS file)
22
# SPDX-License-Identifier: GPL-3.0-or-later
33
from __future__ import annotations
44

55
from typing import NoReturn
66

7-
from xivo.cli.command.base import BaseCommand
7+
from wazo.cli.command.base import BaseCommand
88

99

1010
class ExitCommand(BaseCommand):

wazo/cli/command/help.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Copyright 2013-2023 The Wazo Authors (see the AUTHORS file)
1+
# Copyright 2013-2024 The Wazo Authors (see the AUTHORS file)
22
# SPDX-License-Identifier: GPL-3.0-or-later
33
from __future__ import annotations
44

55
from operator import attrgetter
66
from typing import TYPE_CHECKING
77

8-
from xivo.cli.command.base import BaseCommand
9-
from xivo.cli.exception import NoMatchingCommandError
8+
from wazo.cli.command.base import BaseCommand
9+
from wazo.cli.exception import NoMatchingCommandError
1010

1111
if TYPE_CHECKING:
1212
from ..registry import CommandRegistry

wazo/cli/command/unknown.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Copyright 2017-2023 The Wazo Authors (see the AUTHORS file)
1+
# Copyright 2017-2024 The Wazo Authors (see the AUTHORS file)
22
# SPDX-License-Identifier: GPL-3.0-or-later
33
from __future__ import annotations
44

55
from typing import NoReturn
66

7-
from xivo.cli.command.base import BaseCommand
7+
from wazo.cli.command.base import BaseCommand
88

99

1010
class _BaseUnknownCommand(BaseCommand):

0 commit comments

Comments
 (0)