mirror of https://github.com/zulip/zulip.git
Make the remaining ambiguous divisions python 3 compatible.
Refer to #256
This commit is contained in:
parent
14130a84ca
commit
37f9520666
|
@ -9,6 +9,7 @@ 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 sys
|
import sys
|
||||||
|
|
|
@ -7,6 +7,7 @@ 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
|
||||||
|
|
|
@ -82,6 +82,7 @@ Qual a diferen
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
from __future__ import division
|
||||||
|
|
||||||
import socket, six.moves._thread, select
|
import socket, six.moves._thread, select
|
||||||
PORT = 8085
|
PORT = 8085
|
||||||
|
@ -193,7 +194,7 @@ class ConnectionHandler(object):
|
||||||
print('Connected')
|
print('Connected')
|
||||||
|
|
||||||
def _read_write(self):
|
def _read_write(self):
|
||||||
time_out_max = self.timeout/3
|
time_out_max = self.timeout//3
|
||||||
socs = [self.client, self.target]
|
socs = [self.client, self.target]
|
||||||
count = 0
|
count = 0
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue