From a20734a637dae7b7d7eaae68bc850d0af07a6c6c Mon Sep 17 00:00:00 2001 From: shidenko97 Date: Mon, 19 Sep 2022 18:49:39 +0300 Subject: [PATCH] Show packages without description --- pypisearch/__init__.py | 2 +- pypisearch/result_item.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pypisearch/__init__.py b/pypisearch/__init__.py index f708a9b..7b1e312 100644 --- a/pypisearch/__init__.py +++ b/pypisearch/__init__.py @@ -1 +1 @@ -__version__ = "1.3.2" +__version__ = "1.3.3" diff --git a/pypisearch/result_item.py b/pypisearch/result_item.py index 361bd2b..4d06b1c 100644 --- a/pypisearch/result_item.py +++ b/pypisearch/result_item.py @@ -14,7 +14,7 @@ def __init__(self, plain_text: str) -> None: def is_empty(self) -> bool: """Check is current instance empty.""" - return not all([self.name, self.version, self.description]) + return not all([self.name, self.version]) @property def name(self) -> str: