Rename builtin id variable

This commit is contained in:
Guewen Baconnier committed 2016-12-13 12:21:37 +01:00
1 parent d138a1fd3d
commit 997f92aaab
1 file changed
+2 -1
+2 -1
View File
@@ -253,7 +253,8 @@ class IrAttachment(models.Model):
attachment = attachment_model_env.browse(attachment_id)
attachment._move_attachment_to_s3()
except psycopg2.OperationalError:
_logger.error('Could not migrate attachment %s to S3', id)
_logger.error('Could not migrate attachment %s to S3',
attachment_id)
@contextmanager
def do_in_new_env(self, new_cr=False):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.