projects
/
osm
/
POL.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable pylint in tox.ini
[osm/POL.git]
/
osm_policy_module
/
migrations
/
006_add_heal_alarm.py
diff --git
a/osm_policy_module/migrations/006_add_heal_alarm.py
b/osm_policy_module/migrations/006_add_heal_alarm.py
index
b44f42d
..
a2d2a69
100644
(file)
--- a/
osm_policy_module/migrations/006_add_heal_alarm.py
+++ b/
osm_policy_module/migrations/006_add_heal_alarm.py
@@
-66,7
+66,7
@@
def migrate(migrator, database, fake=False, **kwargs):
cooldown_time = pw.IntegerField()
count_index = pw.IntegerField()
last_heal = pw.DateTimeField()
cooldown_time = pw.IntegerField()
count_index = pw.IntegerField()
last_heal = pw.DateTimeField()
- last_status = pw.CharField(max_length=255, default=
'insufficient-data'
)
+ last_status = pw.CharField(max_length=255, default=
"insufficient-data"
)
day1 = pw.BooleanField(default=False)
class Meta:
day1 = pw.BooleanField(default=False)
class Meta:
@@
-76,4
+76,4
@@
def migrate(migrator, database, fake=False, **kwargs):
def rollback(migrator, database, fake=False, **kwargs):
"""Write your rollback migrations here."""
def rollback(migrator, database, fake=False, **kwargs):
"""Write your rollback migrations here."""
- migrator.remove_model(
'healingaction'
)
+ migrator.remove_model(
"healingaction"
)