Skip to content
Snippets Groups Projects
Commit 12f77c9b authored by Vincent Texier's avatar Vincent Texier
Browse files

Merge branch 'fix_async_deprecation' into 'master'

Fixes: Ğ1 license file not included, deprecated method, CI trigger

See merge request !776
parents 21569984 513bd129
Branches
Tags
1 merge request!776Fixes: Ğ1 license file not included, deprecated method, CI trigger
......@@ -40,7 +40,7 @@ image: registry.duniter.org/docker/python3/duniterpy-builder:0.0.7
.changes:
only:
changes:
- sakia/**/*.py
- src/sakia/*
- .gitlab-ci.yml
- Makefile
- requirements_dev.txt
......
......@@ -42,7 +42,7 @@ EDITABLE_REQUIREMENT = re.compile(r'^-e (?P<link>(?P<vcs>git|svn|hg|bzr).+#egg=(
install_requires = []
dependency_links = []
data_files = [('sakia', ['src/sakia/root_servers.yml', 'src/sakia/g1_licence.html'])]
data_files = [('sakia', ['src/sakia/root_servers.yml', 'src/sakia/g1_license.html'])]
for requirement in (l.strip() for l in open('requirements.txt')):
match = EDITABLE_REQUIREMENT.match(requirement)
......
File moved
......@@ -290,7 +290,7 @@ class NetworkService(QObject):
def run_ws2p_check(self):
if not self._ws2p_heads_refreshing:
self._ws2p_heads_refreshing = True
asyncio.async(self.check_ws2p_heads())
asyncio.ensure_future(self.check_ws2p_heads())
async def check_ws2p_heads(self):
await asyncio.sleep(5)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment