summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2018-04-19 14:13:47 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-05-05 07:25:13 +0200
commit2073635d5818aa3fc844ee40dde0c8ae42ac5abd (patch)
tree9ab59d4a457edd4b89285672d502594ee717130e /python
parentcb40e2bbc8a34a1ec3584ab585c5bf44c037ef0e (diff)
downloadsamba-2073635d5818aa3fc844ee40dde0c8ae42ac5abd.tar.gz
samba-2073635d5818aa3fc844ee40dde0c8ae42ac5abd.tar.bz2
samba-2073635d5818aa3fc844ee40dde0c8ae42ac5abd.zip
traffic: ensure we are using the same division in py 2 and 3
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz> Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org> Autobuild-Date(master): Sat May 5 07:25:13 CEST 2018 on sn-devel-144
Diffstat (limited to 'python')
-rw-r--r--python/samba/emulate/traffic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/emulate/traffic.py b/python/samba/emulate/traffic.py
index 9d95e3a14d5..afb57da36f0 100644
--- a/python/samba/emulate/traffic.py
+++ b/python/samba/emulate/traffic.py
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-from __future__ import print_function
+from __future__ import print_function, division
import time
import os