Open umlaeute opened 6 years ago
it seems to be safe to just change the shebang:
--- dehydrated-hook-ddns-tsig.orig/dehydrated-hook-ddns-tsig.py
+++ dehydrated-hook-ddns-tsig/dehydrated-hook-ddns-tsig.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# dehydrated-hook-ddns-tsig - dns-01 Challenge Hook Script for dehydrated
dehydrated-hook-ddns-tsig is still a Python2 script. Now Py2 is nearing it's EOL (scheduled in 2020, which is pretty close).
Probably the project should just officially abandon Py2 support, and embrace Py3 by changing the hashbang
Note, that I haven't recently tested whether there are any issues with Py3.