Skip to content

Commit bb55cb4

Browse files
committed
fixup! Add DhcpPath class in dhcpstats/common.py
1 parent 7aceb68 commit bb55cb4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

python/nav/dhcpstats/common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class DhcpPath:
5151
allocation_type="range",
5252
group_name_source="custom_groups",
5353
group_name="staff",
54-
fist_ip=IP("1.0.1.1"),
54+
first_ip=IP("1.0.1.1"),
5555
last_ip=IP("1.0.1.255"),
5656
)
5757
@@ -168,7 +168,6 @@ def from_external_info(
168168
group_name = "standalone"
169169
else:
170170
group_name_source = "custom_groups"
171-
group_name = group_name
172171

173172
first_ip = IPy.IP(first_ip)
174173
last_ip = IPy.IP(last_ip)

0 commit comments

Comments
 (0)