Skip to content

Commit 1929474

Browse files
committed
Remove useless import
1 parent 8f886de commit 1929474

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sonar/projects.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
from sonar.util import types
4343

4444
from sonar import exceptions, errcodes
45-
from sonar import sqobject, components, qualitygates, qualityprofiles, rules, tasks, settings, webhooks, devops, syncer
45+
from sonar import sqobject, components, qualitygates, qualityprofiles, tasks, settings, webhooks, devops
4646
import sonar.permissions.permissions as perms
4747
from sonar import pull_requests, branches
4848
import sonar.utilities as util
@@ -799,6 +799,8 @@ def count_third_party_issues(self, filters: dict[str, str] = None) -> dict[str,
799799

800800
def __sync_community(self, another_project: object, sync_settings: types.ConfigSettings) -> tuple[list[dict[str, str]], dict[str, int]]:
801801
"""Syncs 2 projects findings on a community edition"""
802+
from sonar import syncer
803+
802804
report, counters = [], {}
803805
log.info("Syncing %s and %s issues", str(self), str(another_project))
804806
(report, counters) = syncer.sync_lists(

0 commit comments

Comments
 (0)