mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Hound
This commit is contained in:
parent
586a429bea
commit
8fde20646b
2 changed files with 2 additions and 15 deletions
|
|
@ -265,7 +265,7 @@ class SyncServerModule(OpenPypeModule, ITrayModule):
|
|||
|
||||
alt_site_pairs = self._get_alt_site_pairs(additional_sites)
|
||||
|
||||
for site_name, site_info in additional_sites.items():
|
||||
for site_name in additional_sites.keys():
|
||||
# Get alternate sites (stripped names) for this site name
|
||||
alt_sites = alt_site_pairs.get(site_name)
|
||||
alt_sites = [site.strip() for site in alt_sites]
|
||||
|
|
@ -321,7 +321,7 @@ class SyncServerModule(OpenPypeModule, ITrayModule):
|
|||
for site, alt_sites in alt_site_pairs.items():
|
||||
for alt_site in alt_sites:
|
||||
for alt_alt_site in alt_site_pairs.get(alt_site, []):
|
||||
if ( alt_alt_site != site
|
||||
if (alt_alt_site != site
|
||||
and alt_alt_site not in alt_sites):
|
||||
alt_site_pairs[site].append(alt_alt_site)
|
||||
loop = True
|
||||
|
|
|
|||
|
|
@ -13,19 +13,6 @@
|
|||
"""
|
||||
import pytest
|
||||
|
||||
import sys, os
|
||||
|
||||
os.environ["OPENPYPE_MONGO"] = "mongodb://localhost:27017"
|
||||
os.environ["AVALON_MONGO"] = "mongodb://localhost:27017"
|
||||
os.environ["OPENPYPE_DATABASE_NAME"] = "openpype"
|
||||
os.environ["AVALON_TIMEOUT"] = '3000'
|
||||
os.environ["OPENPYPE_DEBUG"] = "3"
|
||||
|
||||
os.environ["AVALON_PROJECT"] = "petr_test"
|
||||
os.environ["AVALON_DB"] = "avalon"
|
||||
os.environ["QT_PREFERRED_BINDING"] = "PySide2"
|
||||
os.environ["QT_VERBOSE"] = "true"
|
||||
|
||||
from tests.lib.testing_classes import ModuleUnitTest
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue