Code review comment for lp:~allenap/maas/fix-image-imports

Revision history for this message
Gavin Panella (allenap) wrote :

This alone is the fix:

     return deferToThreadPool(
         reactor, reactor.threadpoolForDatabase,
-        transactional(func), *args, **kwargs)
+        func, *args, **kwargs)

The rest is tests, docs, and preventing _import_resources() from causing
a regression again.

« Back to merge proposal