equal
deleted
inserted
replaced
1266 if sql.strip(): |
1266 if sql.strip(): |
1267 self.sqlexec(sql) |
1267 self.sqlexec(sql) |
1268 if commit: |
1268 if commit: |
1269 self.commit() |
1269 self.commit() |
1270 |
1270 |
1271 @deprecated("[3.7] use session.disable_hooks_category('integrity')") |
1271 @deprecated("[3.7] use session.disable_hook_categories('integrity')") |
1272 def cmd_deactivate_verification_hooks(self): |
1272 def cmd_deactivate_verification_hooks(self): |
1273 self.session.disable_hooks_category('integrity') |
1273 self.session.disable_hook_categories('integrity') |
1274 |
1274 |
1275 @deprecated("[3.7] use session.enable_hooks_category('integrity')") |
1275 @deprecated("[3.7] use session.enable_hook_categories('integrity')") |
1276 def cmd_reactivate_verification_hooks(self): |
1276 def cmd_reactivate_verification_hooks(self): |
1277 self.session.enable_hooks_category('integrity') |
1277 self.session.enable_hook_categories('integrity') |
1278 |
1278 |
1279 |
1279 |
1280 class ForRqlIterator: |
1280 class ForRqlIterator: |
1281 """specific rql iterator to make the loop skipable""" |
1281 """specific rql iterator to make the loop skipable""" |
1282 def __init__(self, helper, rql, kwargs, ask_confirm): |
1282 def __init__(self, helper, rql, kwargs, ask_confirm): |