We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9411512 commit f335cd7Copy full SHA for f335cd7
1 file changed
nxc/protocols/smb/database.py
@@ -183,8 +183,8 @@ def reflect_tables(self):
183
ip_is_unique = False
184
for constraint in self.HostsTable.constraints:
185
if isinstance(constraint, UniqueConstraint) and constraint.columns[0].name == "ip":
186
- ip_is_unique = True
187
- break
+ ip_is_unique = True
+ break
188
if not ip_is_unique:
189
raise NoSuchTableError("ip is not unique in hosts table")
190
except (NoInspectionAvailable, NoSuchTableError):
0 commit comments