Skip to content

Commit 5158abb

Browse files
less printing
1 parent 2470f9d commit 5158abb

6 files changed

Lines changed: 6 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cloudcheck"
3-
version = "8.4.3"
3+
version = "8.4.4"
44
edition = "2024"
55
description = "CloudCheck is a simple Rust tool to check whether an IP address or hostname belongs to a cloud provider."
66
license = "GPL-3.0"

cloudcheck/providers/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import importlib
2+
from sys import stderr
23
from pathlib import Path
34
from typing import Dict, Type
45

@@ -36,10 +37,9 @@ def load_provider_classes() -> Dict[str, Type[BaseProvider]]:
3637
):
3738
provider_name = attr.__name__
3839
_provider_classes[provider_name] = attr
39-
print(f"Loaded provider class: {attr.__name__}")
4040

4141
except Exception as e:
42-
print(f"Failed to load provider from {file}: {e}")
42+
print(f"Failed to load provider from {file}: {e}", file=stderr)
4343
raise
4444

4545
return _provider_classes

cloudcheck/providers/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ def name(self):
6060

6161
def __init__(self, **data):
6262
super().__init__(**data)
63-
print(f"Initializing {self.name}")
6463
self._cidrs = []
6564
self._cache_dir = Path.home() / ".cache" / "cloudcheck"
6665
self._repo_url = "https://github.com/v2fly/domain-list-community.git"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "cloudcheck"
7-
version = "8.4.3"
7+
version = "8.4.4"
88
description = "Detailed database of cloud providers. Instantly look up a domain or IP address"
99
readme = "README.md"
1010
requires-python = ">=3.9"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)