diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-04-24 22:25:56 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-04-24 22:25:56 (GMT) |
commit | bcdc9a412521ae0b9f9aea7997a880af6dbda2a6 (patch) | |
tree | bbdcd3f7da00dc5fcfa712bfaf148f392ac12fda /src/engine/SCons/Script/SConscript.py | |
parent | ed90f2420a34f20480311261cf8663803ca65b6e (diff) | |
download | SCons-bcdc9a412521ae0b9f9aea7997a880af6dbda2a6.zip SCons-bcdc9a412521ae0b9f9aea7997a880af6dbda2a6.tar.gz SCons-bcdc9a412521ae0b9f9aea7997a880af6dbda2a6.tar.bz2 |
Convert to Python 3.x division rules.
Diffstat (limited to 'src/engine/SCons/Script/SConscript.py')
-rw-r--r-- | src/engine/SCons/Script/SConscript.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Script/SConscript.py b/src/engine/SCons/Script/SConscript.py index 5928a88..ed077ba 100644 --- a/src/engine/SCons/Script/SConscript.py +++ b/src/engine/SCons/Script/SConscript.py @@ -26,6 +26,7 @@ files. # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # 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__" @@ -77,7 +78,7 @@ sconscript_chdir = 1 def get_calling_namespaces(): """Return the locals and globals for the function that called into this module in the current call stack.""" - 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). |