Commit 43b8bc670c88d13e596b154cdaa701f1f509c1d7

Authored by Macartur Sousa
1 parent 5acf8565

Fix flake8 warning

Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Signed-off-by: Simião Carvalho <simiaosimis@gmail.com>
Showing 1 changed file with 4 additions and 3 deletions   Show diff stats
colab/plugins/models.py
1 1 from django.db import models
2 2 from datetime import datetime
3 3  
  4 +
4 5 class TimeStampPlugin(models.Model):
5 6 '''
6 7 Class used to store timestamps from plugins
7 8 '''
8   - id = models.IntegerField(primary_key= True)
9   - name = models.CharField(max_length=255,unique=True,null=False)
10   - timestamp = models.DateTimeField(default=datetime.min,blank=True)
  9 + id = models.IntegerField(primary_key=True)
  10 + name = models.CharField(max_length=255, unique=True, null=False)
  11 + timestamp = models.DateTimeField(default=datetime.min, blank=True)
11 12  
12 13 @classmethod
13 14 def update_timestamp(cls, class_name):
... ...