mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
py3: Remove all __future__ import division.
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
from __future__ import division
|
|
||||||
|
|
||||||
from zerver.models import Realm, UserProfile, Stream, Message
|
from zerver.models import Realm, UserProfile, Stream, Message
|
||||||
from analytics.models import InstallationCount, RealmCount, UserCount, StreamCount
|
from analytics.models import InstallationCount, RealmCount, UserCount, StreamCount
|
||||||
from analytics.lib.counts import CountStat
|
from analytics.lib.counts import CountStat
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
from __future__ import division
|
|
||||||
|
|
||||||
from typing import Any, Dict
|
from typing import Any, Dict
|
||||||
|
|
||||||
from zerver.lib.statistics import seconds_usage_between
|
from zerver.lib.statistics import seconds_usage_between
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
from __future__ import division
|
|
||||||
|
|
||||||
from typing import Any, List
|
from typing import Any, List
|
||||||
|
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ It must be run on a machine that is using the live database for the
|
|||||||
Django ORM.
|
Django ORM.
|
||||||
"""
|
"""
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from __future__ import division
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import optparse
|
import optparse
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ It must be run on a machine that is using the live database for the
|
|||||||
Django ORM.
|
Django ORM.
|
||||||
"""
|
"""
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from __future__ import division
|
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
from __future__ import division
|
|
||||||
|
|
||||||
from django.core.management.base import BaseCommand, CommandParser
|
from django.core.management.base import BaseCommand, CommandParser
|
||||||
from django.utils.timezone import now as timezone_now
|
from django.utils.timezone import now as timezone_now
|
||||||
from django.db.models import F, Max
|
from django.db.models import F, Max
|
||||||
|
|||||||
Reference in New Issue
Block a user