public inbox for ddns@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] Schockokeks.org: Fix malformed update URL.
@ 2016-10-28 10:35 Stefan Schantl
  2016-10-28 12:30 ` Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Schantl @ 2016-10-28 10:35 UTC (permalink / raw)
  To: ddns

[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]

* Move Provider Class into correct alphabetical order.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 src/ddns/providers.py | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/src/ddns/providers.py b/src/ddns/providers.py
index c482dad..2c30d42 100644
--- a/src/ddns/providers.py
+++ b/src/ddns/providers.py
@@ -1424,6 +1424,17 @@ class DDNSProviderRegfish(DDNSProvider):
 		raise DDNSUpdateError
 
 
+class DDNSProviderSchokokeksDNS(DDNSProtocolDynDNS2, DDNSProvider):
+	handle    = "schokokeks.org"
+	name      = "Schokokeks"
+	website   = "http://www.schokokeks.org/"
+	protocols = ("ipv4",)
+
+	# Information about the format of the request is to be found
+	# https://wiki.schokokeks.org/DynDNS
+	url = "https://dyndns.schokokeks.org/nic/update"
+
+
 class DDNSProviderSelfhost(DDNSProtocolDynDNS2, DDNSProvider):
 	handle    = "selfhost.de"
 	name      = "Selfhost.de"
@@ -1687,15 +1698,3 @@ class DDNSProviderZZZZ(DDNSProvider):
 
 		# If we got here, some other update error happened.
 		raise DDNSUpdateError
-
-class DDNSProviderSchokokeksDNS(DDNSProtocolDynDNS2, DDNSProvider):
-       handle    = "schokokeks.org"
-       name      = "Schokokeks"
-       website   = "http://www.schokokeks.org/"
-       protocols = ("ipv4",)
-
-       # Information about the format of the request is to be found
-       # https://wiki.schokokeks.org/DynDNS
-
-       url = "https://dyndns.schokokeks.org/nic/update?myip=<ipaddr>"
-
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Schockokeks.org: Fix malformed update URL.
  2016-10-28 10:35 [PATCH] Schockokeks.org: Fix malformed update URL Stefan Schantl
@ 2016-10-28 12:30 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2016-10-28 12:30 UTC (permalink / raw)
  To: ddns

[-- Attachment #1: Type: text/plain, Size: 1871 bytes --]

Thanks for correcting this.

Reviewed-by: Michael Tremer <michael.tremer(a)ipfire.org>

On Fri, 2016-10-28 at 12:35 +0200, Stefan Schantl wrote:
> * Move Provider Class into correct alphabetical order.
> 
> Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
> ---
>  src/ddns/providers.py | 23 +++++++++++------------
>  1 file changed, 11 insertions(+), 12 deletions(-)
> 
> diff --git a/src/ddns/providers.py b/src/ddns/providers.py
> index c482dad..2c30d42 100644
> --- a/src/ddns/providers.py
> +++ b/src/ddns/providers.py
> @@ -1424,6 +1424,17 @@ class DDNSProviderRegfish(DDNSProvider):
>  		raise DDNSUpdateError
>  
>  
> +class DDNSProviderSchokokeksDNS(DDNSProtocolDynDNS2, DDNSProvider):
> +	handle    = "schokokeks.org"
> +	name      = "Schokokeks"
> +	website   = "http://www.schokokeks.org/"
> +	protocols = ("ipv4",)
> +
> +	# Information about the format of the request is to be found
> +	# https://wiki.schokokeks.org/DynDNS
> +	url = "https://dyndns.schokokeks.org/nic/update"
> +
> +
>  class DDNSProviderSelfhost(DDNSProtocolDynDNS2, DDNSProvider):
>  	handle    = "selfhost.de"
>  	name      = "Selfhost.de"
> @@ -1687,15 +1698,3 @@ class DDNSProviderZZZZ(DDNSProvider):
>  
>  		# If we got here, some other update error happened.
>  		raise DDNSUpdateError
> -
> -class DDNSProviderSchokokeksDNS(DDNSProtocolDynDNS2, DDNSProvider):
> -       handle    = "schokokeks.org"
> -       name      = "Schokokeks"
> -       website   = "http://www.schokokeks.org/"
> -       protocols = ("ipv4",)
> -
> -       # Information about the format of the request is to be found
> -       # https://wiki.schokokeks.org/DynDNS
> -
> -       url = "https://dyndns.schokokeks.org/nic/update?myip=<ipaddr>;"
> -

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-10-28 12:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-28 10:35 [PATCH] Schockokeks.org: Fix malformed update URL Stefan Schantl
2016-10-28 12:30 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox