Skip to content

Commit

Permalink
py3k: Use new-style division.
Browse files Browse the repository at this point in the history
  • Loading branch information
QuLogic committed Jun 28, 2016
1 parent da047b3 commit 671ff5c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/scripts/dab_hardness_plot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import absolute_import, print_function
from __future__ import absolute_import, division, print_function

import numpy as np
import matplotlib.pyplot as plt
Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

from __future__ import absolute_import, print_function
from __future__ import absolute_import, division, print_function

import os

Expand Down
2 changes: 1 addition & 1 deletion examples/gegl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

from __future__ import absolute_import, print_function
from __future__ import absolute_import, division, print_function

from gi.repository import GeglGtk3 as GeglGtk
from gi.repository import Gegl, Gtk
Expand Down
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

"Code generator, part of the build process."

from __future__ import absolute_import, print_function
from __future__ import absolute_import, division, print_function

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion tests/ctests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

from __future__ import absolute_import, print_function
from __future__ import absolute_import, division, print_function

import os

Expand Down
2 changes: 1 addition & 1 deletion tests/test_ctests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

from __future__ import absolute_import, print_function
from __future__ import absolute_import, division, print_function

import os
import ctests
Expand Down

0 comments on commit 671ff5c

Please sign in to comment.