[PATCH v2 1/6] models: Add missing unicode decorator

Stephen Finucane stephen.finucane at intel.com
Sat Mar 26 04:27:18 AEDT 2016


This is required for Python 3 compatibility.

Signed-off-by: Stephen Finucane <stephen.finucane at intel.com>
---
 patchwork/models.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/patchwork/models.py b/patchwork/models.py
index bdd797a..87d7d0d 100644
--- a/patchwork/models.py
+++ b/patchwork/models.py
@@ -523,6 +523,7 @@ class BundlePatch(models.Model):
         ordering = ['order']
 
 
+ at python_2_unicode_compatible
 class Check(models.Model):
 
     """Check for a patch.
-- 
2.0.0



More information about the Patchwork mailing list