devtools: Fix cleanup of temporary database (closes #1908656)
The stored database path for clean up was not absolute.
We now make the ``db-name`` absolute at database manade initialization. before
storing the name for cleanup.
try:rtype,=__args__exceptValueError:print'USAGE: cubicweb-ctl shell <instance> detect_cycle.py -- <relation type>'printgraph={}forfromeid,toeidinrql('Any X,Y WHERE X %s Y'%rtype):graph.setdefault(fromeid,[]).append(toeid)fromlogilab.common.graphimportget_cyclesforcycleinget_cycles(graph):print'cycle','->'.join(str(n)fornincycle)