зеркало из https://github.com/mozilla/FlightDeck.git
updating property name to year_of_activity
This commit is contained in:
Родитель
6a9a67cfae
Коммит
c55f3df8c4
|
@ -63,7 +63,7 @@ def package_activity():
|
||||||
# reset all Packages is_active_today to false
|
# reset all Packages is_active_today to false
|
||||||
for pkg in pkgs:
|
for pkg in pkgs:
|
||||||
bit = '1' if pkg.is_active_today else '0'
|
bit = '1' if pkg.is_active_today else '0'
|
||||||
pkg.daily_activity = bit + pkg.daily_activity[-1]
|
pkg.year_of_activity = bit + pkg.year_of_activity[-1]
|
||||||
pkg.is_active_today = False
|
pkg.is_active_today = False
|
||||||
pkg.save()
|
pkg.save()
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче