path: root/releng
diff options
authorDan McGee <>2012-07-24 09:19:48 -0500
committerDan McGee <>2012-07-24 19:57:20 -0500
commitc0bf9e20660cfae7ea8994472555bba23398b598 (patch)
tree889351fc02d4930233acf3dace3ececda4833c88 /releng
parent61b4098c611592d62b40a9ee941976a869dff4fc (diff)
Remove custom utc_now() function, use
This was around from the time when we handled timezones sanely and Django did not; now that we are on 1.4 we no longer need our own code to handle this. Signed-off-by: Dan McGee <>
Diffstat (limited to 'releng')
1 files changed, 2 insertions, 3 deletions
diff --git a/releng/management/commands/ b/releng/management/commands/
index 62f005ff..223c771b 100644
--- a/releng/management/commands/
+++ b/releng/management/commands/
@@ -4,8 +4,8 @@ from HTMLParser import HTMLParser, HTMLParseError
from django.conf import settings
from import BaseCommand, CommandError
+from django.utils.timezone import now
-from main.utils import utc_now
from releng.models import Iso
@@ -54,9 +54,8 @@ class Command(BaseCommand): = True
existing.removed = None
- now = utc_now()
# and then mark all other names as no longer active
- active=False, removed=now)
+ active=False, removed=now())
# vim: set ts=4 sw=4 et: