cubicweb #5491700 source-sync fail with 'Connection' object has no attribute 'close' [resolved]

This is only about development version 3.21.

When trying to manually synchronize data from an external source using the source-sync command, an exception is raised:

cubicweb-ctl source-sync <instance_name> <source_name>
Traceback (most recent call last):
  File "/usr/bin/cubicweb-ctl", line 4, in <module>
  File "/home/yvote/Yann/ProjetsDev/cubicweb/cubicweb/", line 1139, in run
  File "/usr/lib/python2.7/dist-packages/logilab/common/", line 136, in run
    sys.exit(command.main_run(args, rcfile))
  File "/usr/lib/python2.7/dist-packages/logilab/common/", line 265, in main_run
  File "/home/yvote/Yann/ProjetsDev/cubicweb/cubicweb/server/", line 951, in run
AttributeError: 'Connection' object has no attribute 'close'

Works fine in 3.20.7.

done in3.21.0
load left0.000
closed by#8a2e2efe9362 [serverctl] fix source-sync command
patch[serverctl] fix source-sync command [applied]