github-rest-api 0.10.0__tar.gz → 0.10.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: github-rest-api
3
- Version: 0.10.0
3
+ Version: 0.10.1
4
4
  Summary: Simple wrapper of GitHub REST APIs.
5
5
  Author: Ben Du
6
6
  Author-email: longendu@yahoo.com
@@ -163,7 +163,9 @@ def _clean_bench_dirs(bench_dir: Path, history: int) -> list[Path]:
163
163
  for path in dirs[:-history]:
164
164
  shutil.rmtree(path)
165
165
  dirs = dirs[-history:]
166
- dirs.append(Path("dev"))
166
+ dev = bench_dir / "dev"
167
+ if dev.is_dir():
168
+ dirs.append(dev)
167
169
  return dirs
168
170
 
169
171
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "github_rest_api"
3
- version = "0.10.0"
3
+ version = "0.10.1"
4
4
  description = "Simple wrapper of GitHub REST APIs."
5
5
  authors = ["Ben Du <longendu@yahoo.com>"]
6
6
  readme = "README.md"