place the disable hooks context manager at the right place (closes: #1626694)
hooks control is reset at each commit so we need to have a smaller scope for the CM in the 3.10.9 migration script
# copyright %(year)s %(author)s, all rights reserved.# contact %(author-web-site)s -- mailto:%(author-email)s#%(long-license)s"""%(distname)s entity's classes"""