]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parser: Don't pass a message-id longer than 255 chars to the db
authorStephen Finucane <stephen@that.guru>
Wed, 28 Jun 2017 20:33:20 +0000 (21:33 +0100)
committerStephen Finucane <stephen@that.guru>
Wed, 28 Jun 2017 20:41:28 +0000 (21:41 +0100)
commitcfcc2805a10031ff8dc2241f47d5d56fbb84d02c
treeac15ec92be63636dce8268c213e526f627dd9847
parent06b5f052747adb3c903e6c5faae6eef5defdd75b
parser: Don't pass a message-id longer than 255 chars to the db

The db limit is 255: we need to make sure we don't pass anything
longer in or it will throw an exception.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/parser.py