don't print import error to stdout

This commit is contained in:
Tobias Schmidl 2021-12-17 08:30:55 +01:00
parent ae0b86d50e
commit 4f97a24edf

View file

@ -35,7 +35,8 @@ if __name__ == "__main__":
apt_client = client.AptClient() apt_client = client.AptClient()
apt_client.update_cache(wait=True) apt_client.update_cache(wait=True)
except ImportError as err: except ImportError as err:
print(str(err), file=sys.stderr) # print(str(err), file=sys.stderr)
pass
cache = Cache() cache = Cache()
cache.open() cache.open()