twc-cli 2.4.0__py3-none-any.whl → 2.4.1__py3-none-any.whl

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/__version__.py CHANGED
@@ -12,5 +12,5 @@
12
12
  import sys
13
13
 
14
14
 
15
- __version__ = "2.4.0"
15
+ __version__ = "2.4.1"
16
16
  __pyversion__ = sys.version.replace("\n", "")
twc/commands/domain.py CHANGED
@@ -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(".")[: offset - 1][0]
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: twc-cli
3
- Version: 2.4.0
3
+ Version: 2.4.1
4
4
  Summary: Timeweb Cloud Command Line Interface.
5
5
  Home-page: https://github.com/timeweb-cloud/twc
6
6
  License: MIT
@@ -2,7 +2,7 @@ CHANGELOG.md,sha256=zTYQURuVK_bCcGHFCvPv7fhrrx1AylMBXIoCHN5GjW8,21537
2
2
  COPYING,sha256=fpJLxZS_kHr_659xkpmqEtqHeZp6lQR9CmKCwnYbsmE,1089
3
3
  twc/__init__.py,sha256=NwPAMNw3NuHdWGQvWS9_lromVF6VM194oVOipojfJns,113
4
4
  twc/__main__.py,sha256=jVkf0XyGIhn3oaWgEzknuUjktYk6ANYwbmrUID15vvc,2335
5
- twc/__version__.py,sha256=vMp4lVqdbPXU8ix7Oqd4GZZxIrxkP1u9yI72iQwW8MY,442
5
+ twc/__version__.py,sha256=wr1ehxX2XbcqynTOLEVk_co68MQI6SNEZSFm6jgxook,442
6
6
  twc/api/__init__.py,sha256=SXew0Fe51M7nRBNQaaLRH4NjnRHkQUn7J26OCkQsftA,128
7
7
  twc/api/base.py,sha256=9srQS7CrDlfg-CSioIRyW_QUbCBovDs2VqN_4V28YCc,8063
8
8
  twc/api/client.py,sha256=Tkd9zdzsESCtvy-kdv012R-Q12btU4D0uDVOjXUy8Zc,55898
@@ -15,7 +15,7 @@ twc/commands/balancer.py,sha256=QAouc74ZT5go11gB1vjjfYtd1luTmWrfpACPwokZ5sU,2027
15
15
  twc/commands/common.py,sha256=r3enPCYWMwkD8YNPgcXuXK_HrobiHgfpkn82j_uRDqY,7805
16
16
  twc/commands/config.py,sha256=hoRtxn2VRxIsuy9vgO6yd0Cu15Rbl-uYMZeU0Ix7dG0,8797
17
17
  twc/commands/database.py,sha256=2NZ-TyRBkFgfYJyUdZUcfdqSaX7QVdWDU4k_yQNtUvo,16052
18
- twc/commands/domain.py,sha256=tG5CiM5B6AeX_bUDGMtGp1L_xsjoYreWpyBFYTUKu04,15621
18
+ twc/commands/domain.py,sha256=SHOERsEvmlkdKQV5kaiEgMOLZme5ykW8LCUd1IF1Zzo,15624
19
19
  twc/commands/firewall.py,sha256=6tSOiOmDx3X-hbD_XwUt8cU6GiLh9gDVMtQ7O59PG14,20381
20
20
  twc/commands/image.py,sha256=2TQ2tzkraggx7eR2OHU64qDFtgzV5YHtCHl4nLpRMqA,8140
21
21
  twc/commands/kubernetes.py,sha256=-Cgas1vFVMcrWGinjstuUz3sqX0ZNXv_4mwPwuwKeLE,20870
@@ -28,8 +28,8 @@ twc/fmt.py,sha256=cmo3EdFEAwl_JocfneIEHpD5c_bHQ6tAw_UJEC-vatY,6904
28
28
  twc/typerx.py,sha256=AZ6BgTQvlrZYfKVYd9YqRNQnAR2XuyqImz4rf6di6f4,6737
29
29
  twc/utils.py,sha256=uWizyUC4dHLwtk50q4Sub3zOvnVESfHKBbXYwk5t71w,651
30
30
  twc/vars.py,sha256=zvSaojyihfDpScKLSb5ICVkXE3EHuU0UfwmZz7TTdrg,577
31
- twc_cli-2.4.0.dist-info/COPYING,sha256=fpJLxZS_kHr_659xkpmqEtqHeZp6lQR9CmKCwnYbsmE,1089
32
- twc_cli-2.4.0.dist-info/METADATA,sha256=fjiKhtNC-IX8aB81T6Jtw1-QoEoSPqjUjuaWt1FAKy4,1772
33
- twc_cli-2.4.0.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
34
- twc_cli-2.4.0.dist-info/entry_points.txt,sha256=tmTaVRhm8BkNrXC_9XJMum7O9wFVOvkXcBetxmahWvE,40
35
- twc_cli-2.4.0.dist-info/RECORD,,
31
+ twc_cli-2.4.1.dist-info/COPYING,sha256=fpJLxZS_kHr_659xkpmqEtqHeZp6lQR9CmKCwnYbsmE,1089
32
+ twc_cli-2.4.1.dist-info/METADATA,sha256=Zxd8vRxwi1R_L5V9nJcuXJaQjNqq89N030c_qyYIfWE,1772
33
+ twc_cli-2.4.1.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
34
+ twc_cli-2.4.1.dist-info/entry_points.txt,sha256=tmTaVRhm8BkNrXC_9XJMum7O9wFVOvkXcBetxmahWvE,40
35
+ twc_cli-2.4.1.dist-info/RECORD,,