don't print import error to stdout
This commit is contained in:
parent
ae0b86d50e
commit
4f97a24edf
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue