twc-cli 2.4.0__tar.gz → 2.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of twc-cli might be problematic. Click here for more details.
- {twc_cli-2.4.0 → twc_cli-2.4.1}/PKG-INFO +1 -1
- {twc_cli-2.4.0 → twc_cli-2.4.1}/pyproject.toml +1 -1
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/__version__.py +1 -1
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/domain.py +1 -1
- {twc_cli-2.4.0 → twc_cli-2.4.1}/CHANGELOG.md +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/COPYING +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/README.md +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/__init__.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/__main__.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/api/__init__.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/api/base.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/api/client.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/api/exceptions.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/api/types.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/apiwrap.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/__init__.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/account.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/balancer.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/common.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/config.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/database.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/firewall.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/image.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/kubernetes.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/project.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/server.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/ssh_key.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/storage.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/commands/vpc.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/fmt.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/typerx.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/utils.py +0 -0
- {twc_cli-2.4.0 → twc_cli-2.4.1}/twc/vars.py +0 -0
|
@@ -365,7 +365,7 @@ def domain_add_dns_record(
|
|
|
365
365
|
# underscores to this function.
|
|
366
366
|
if record_type.lower() == "txt":
|
|
367
367
|
# 'ftp.example.org' --> 'ftp'
|
|
368
|
-
subdomain = subdomain.split(".")[
|
|
368
|
+
subdomain = ".".join(subdomain.split(".")[:-offset])
|
|
369
369
|
|
|
370
370
|
response = client.add_domain_dns_record(
|
|
371
371
|
domain_name, record_type, value, subdomain, priority
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|