kkpyutil 1.29.0__tar.gz → 1.29.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kkpyutil
3
- Version: 1.29.0
3
+ Version: 1.29.1
4
4
  Summary: Building blocks for sysadmin and DevOps
5
5
  Home-page: https://github.com/kakyoism/kkpyutil/
6
6
  License: MIT
@@ -1058,7 +1058,7 @@ def run_cmd(cmd, cwd=None, logger=None, check=True, shell=False, verbose=False,
1058
1058
  console_info = logger.info if logger and verbose else logger.debug
1059
1059
  # show cmdline with or without exceptions
1060
1060
  cmd_log = f"""\
1061
- {' '.join(cmd)}
1061
+ {' '.join([str(comp) for comp in cmd])}
1062
1062
  cwd: {osp.abspath(cwd) if cwd else os.getcwd()}
1063
1063
  """
1064
1064
  logger.info(cmd_log)
@@ -1103,7 +1103,7 @@ def run_daemon(cmd, cwd=None, logger=None, shell=False, useexception=True, env=N
1103
1103
  """
1104
1104
  logger = logger or glogger
1105
1105
  logger.debug(f"""run in background:
1106
- {" ".join(cmd)}
1106
+ {' '.join([str(comp) for comp in cmd])}
1107
1107
  cwd: {osp.abspath(cwd) if cwd else os.getcwd()}
1108
1108
  """)
1109
1109
  # fake the same proc interface
@@ -1139,7 +1139,7 @@ def watch_cmd(cmd, cwd=None, logger=None, shell=False, verbose=False, useexcepti
1139
1139
  logger = logger or glogger
1140
1140
  # show cmdline with or without exceptions
1141
1141
  cmd_log = f"""\
1142
- {' '.join(cmd)}
1142
+ {' '.join([str(comp) for comp in cmd])}
1143
1143
  cwd: {osp.abspath(cwd) if cwd else os.getcwd()}
1144
1144
  """
1145
1145
  logger.info(cmd_log)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "kkpyutil"
3
- version = "1.29.0"
3
+ version = "1.29.1"
4
4
  description = "Building blocks for sysadmin and DevOps"
5
5
  authors = ["Beinan Li <li.beinan@gmail.com>"]
6
6
  maintainers = ["Beinan Li <li.beinan@gmail.com>"]
File without changes
File without changes