Skip to content

Commit

Permalink
[chores] Fixed qa checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Aryamanz29 committed May 3, 2022
1 parent 44297e9 commit 0b8c234
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Migration(migrations.Migration):

dependencies = [
('contenttypes', '0002_remove_content_type_name'),
('config', '0036_device_group'),
('config', '0037_alter_management_ip_help_text'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.OPENWISP_IPAM_SUBNET_MODEL),
('config', '0037_alter_taggedtemplate'),
('config', '0038_alter_taggedtemplate'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Migration(migrations.Migration):
swapper.dependency('pki', 'Ca'),
swapper.dependency('openwisp_ipam', 'IpAddress'),
swapper.dependency('openwisp_ipam', 'Subnet'),
('config', '0038_vpn_subnet'),
('config', '0039_vpn_subnet'),
]

operations = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.OPENWISP_IPAM_IPADDRESS_MODEL),
('config', '0039_wireguard_vxlan_ipam'),
('config', '0040_wireguard_vxlan_ipam'),
]

operations = [
Expand Down
2 changes: 0 additions & 2 deletions openwisp_controller/connection/base/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import collections
import logging
import operator

import jsonschema
from django.core.exceptions import ValidationError
Expand Down Expand Up @@ -148,7 +147,6 @@ def auto_add_to_devices(cls, credential_id, organization_id):
conn = DeviceConnection(
device=device, credentials_id=credential_id, enabled=True
)
conn._connector_field = 'credentials.connector'
conn.full_clean()
device_connections.append(conn)
# Send create query when chunk_size is reached
Expand Down
1 change: 0 additions & 1 deletion openwisp_controller/connection/connectors/snmp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import logging
from io import StringIO

from jsonschema import validate

Expand Down

0 comments on commit 0b8c234

Please sign in to comment.