remove some debugging code

This commit is contained in:
Erica Portnoy 2020-07-14 18:33:31 -07:00
parent 2bbbc78e8b
commit 137b5f0e01
2 changed files with 0 additions and 11 deletions

View file

@ -7,13 +7,9 @@ if [ ! -f "$SNAP/certbot-shared/__init__.py" ]; then
fi
cb_installed=$(grep -oP "__version__ = '\K.*(?=')" $SNAP/certbot-shared/__init__.py)
echo "cb_installed: $cb_installed" >> "$SNAP_DATA/debuglog" # if we succeed
echo "cb_installed: $cb_installed" # if we fail
# get required certbot version for plugin
cb_required=$(grep -oP "certbot>=\K.*(?=')" $SNAP/setup.py)
echo "cb_required: $cb_required" >> "$SNAP_DATA/debuglog"
echo "cb_required: $cb_required"
python3 -c "from distutils.version import LooseVersion; exit(1) if LooseVersion('$cb_installed')\
< LooseVersion('$cb_required') else exit(0)" || exit_code=$?

View file

@ -6,10 +6,6 @@ grade: devel
base: core20
adopt-info: certbot-dns-dnsimple
apps:
bash:
command: run-bash
parts:
certbot-dns-dnsimple:
plugin: python
@ -53,6 +49,3 @@ hooks:
post-refresh:
plugs:
- certbot-version
pre-refresh:
plugs:
- certbot-version