summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Defaults.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-04-24 22:25:56 (GMT)
committerGreg Noel <GregNoel@tigris.org>2010-04-24 22:25:56 (GMT)
commitbcdc9a412521ae0b9f9aea7997a880af6dbda2a6 (patch)
treebbdcd3f7da00dc5fcfa712bfaf148f392ac12fda /src/engine/SCons/Defaults.py
parented90f2420a34f20480311261cf8663803ca65b6e (diff)
downloadSCons-bcdc9a412521ae0b9f9aea7997a880af6dbda2a6.zip
SCons-bcdc9a412521ae0b9f9aea7997a880af6dbda2a6.tar.gz
SCons-bcdc9a412521ae0b9f9aea7997a880af6dbda2a6.tar.bz2
Convert to Python 3.x division rules.
Diffstat (limited to 'src/engine/SCons/Defaults.py')
-rw-r--r--src/engine/SCons/Defaults.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/engine/SCons/Defaults.py b/src/engine/SCons/Defaults.py
index ece6d59..be6ea9f 100644
--- a/src/engine/SCons/Defaults.py
+++ b/src/engine/SCons/Defaults.py
@@ -31,13 +31,12 @@ from distutils.msvccompiler.
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
+from __future__ import division
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
-
import os
-import os.path
import errno
import shutil
import stat
@@ -435,7 +434,7 @@ class Variable_Method_Caller:
self.variable = variable
self.method = method
def __call__(self, *args, **kw):
- try: 1/0
+ try: 1//0
except ZeroDivisionError:
# Don't start iterating with the current stack-frame to
# prevent creating reference cycles (f_back is safe).