[pypy-commit] pypy default: pep8

bdkearns noreply at buildbot.pypy.org
Tue Mar 5 23:21:00 CET 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r62099:91e0e964585a
Date: 2013-03-05 16:11 -0500
http://bitbucket.org/pypy/pypy/changeset/91e0e964585a/

Log:	pep8

diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py
--- a/lib_pypy/datetime.py
+++ b/lib_pypy/datetime.py
@@ -570,8 +570,8 @@
 
     def total_seconds(self):
         """Total seconds in the duration."""
-        return ((self.days * 86400 + self.seconds) * 10**6
-                + self.microseconds) / 1e6
+        return ((self.days * 86400 + self.seconds) * 10**6 +
+                self.microseconds) / 1e6
 
     # Read-only field accessors
     @property


More information about the pypy-commit mailing list