Codying style update, added comments

This commit is contained in:
Roberto Rosario
2012-01-03 04:37:03 -04:00
parent 19b2412e03
commit b89c55ed18
4 changed files with 14 additions and 9 deletions

View File

@@ -89,9 +89,9 @@ class ArgumentsValidator(object):
self.code = code
def __call__(self, value):
"""
'''
Validates that the input evaluates correctly.
"""
'''
value = value.strip()
try:
literal_eval(value)
@@ -100,10 +100,10 @@ class ArgumentsValidator(object):
class QueueTransformation(models.Model):
"""
'''
Model that stores the transformation and transformation arguments
for a given document queue
"""
'''
content_type = models.ForeignKey(ContentType)
object_id = models.PositiveIntegerField()
content_object = generic.GenericForeignKey('content_type', 'object_id')