Author: Mark Young <marky1...@gmail.com>
Branch: py3k
Changeset: r85807:4d44b721a5e9
Date: 2016-07-16 23:07 -0400
http://bitbucket.org/pypy/pypy/changeset/4d44b721a5e9/

Log:    Fix faulty indentation.

diff --git a/pypy/module/time/interp_time.py b/pypy/module/time/interp_time.py
--- a/pypy/module/time/interp_time.py
+++ b/pypy/module/time/interp_time.py
@@ -1041,16 +1041,16 @@
             return win_perf_counter(space, w_info=w_info)
         except ValueError:
             pass
-        value = _clock()
-        # Is this casting correct?
-        if value == rffi.cast(clock_t, -1):
-            raise oefmt(space.w_RuntimeError,
-                        "the processor time used is not available or its value"
-                        "cannot be represented")
-        if w_info is not None:
-            _setinfo(space, w_info,
-                     "clock()", 1.0 / CLOCKS_PER_SEC, True, False)
-        return space.wrap((1.0 * value) / CLOCKS_PER_SEC)
+    value = _clock()
+    # Is this casting correct?
+    if value == rffi.cast(clock_t, -1):
+        raise oefmt(space.w_RuntimeError,
+                    "the processor time used is not available or its value"
+                    "cannot be represented")
+    if w_info is not None:
+        _setinfo(space, w_info,
+                 "clock()", 1.0 / CLOCKS_PER_SEC, True, False)
+    return space.wrap((1.0 * value) / CLOCKS_PER_SEC)
 
 
 def _setinfo(space, w_info, impl, res, mono, adj):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to