[Python-checkins] r85189 - in tracker/instances/python-dev: rietveld/roundup_helper/models.py scripts/addpatchsets

martin.v.loewis python-checkins at python.org
Sat Oct 2 21:15:31 CEST 2010


Author: martin.v.loewis
Date: Sat Oct  2 21:15:31 2010
New Revision: 85189

Log:
Rename Issue to RoundupIssue, to avoid conflicts in GQL


Modified:
   tracker/instances/python-dev/rietveld/roundup_helper/models.py
   tracker/instances/python-dev/scripts/addpatchsets

Modified: tracker/instances/python-dev/rietveld/roundup_helper/models.py
==============================================================================
--- tracker/instances/python-dev/rietveld/roundup_helper/models.py	(original)
+++ tracker/instances/python-dev/rietveld/roundup_helper/models.py	Sat Oct  2 21:15:31 2010
@@ -23,7 +23,7 @@
     class Meta:
         db_table = '_file'
 
-class Issue(models.Model):
+class RoundupIssue(models.Model):
     _creator = models.IntegerField()
     _creation = models.DateTimeField()
     _status = models.IntegerField()

Modified: tracker/instances/python-dev/scripts/addpatchsets
==============================================================================
--- tracker/instances/python-dev/scripts/addpatchsets	(original)
+++ tracker/instances/python-dev/scripts/addpatchsets	Sat Oct  2 21:15:31 2010
@@ -13,7 +13,7 @@
 from codereview.models import Repository, Branch, PatchSet, Issue
 from django.contrib.auth.models import User
 from codereview import engine
-from roundup_helper.models import File, Issue as RoundupIssue
+from roundup_helper.models import File, RoundupIssue
 from django.db import connection, transaction
 from google.appengine.ext import db as gae_db
 


More information about the Python-checkins mailing list