Sfoglia il codice sorgente

Add a missing argument to the _IP tuple.

tags/v0.3
Ben Kurtovic 8 anni fa
parent
commit
6516992ef9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      earwigbot/commands/cidr.py

+ 1
- 1
earwigbot/commands/cidr.py Vedi File

@@ -27,7 +27,7 @@ from socket import AF_INET, AF_INET6

from earwigbot.commands import Command

_IP = namedtuple("_IP", ["family", "ip"])
_IP = namedtuple("_IP", ["family", "ip", "size"])
_Range = namedtuple("_Range", [
"family", "range", "low", "high", "size", "addresses"])



Caricamento…
Annulla
Salva