]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use spaces, not tabs for indents.
authorGuido van Rossum <guido@python.org>
Tue, 14 May 2002 14:07:12 +0000 (14:07 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 14 May 2002 14:07:12 +0000 (14:07 +0000)
Raymond Hettinger, beware!  This caused the Unix install to fail!

Lib/random.py

index a761a21cfe9ccf8af55b02fa567b5634921ea7a8..23ac8dbc3ec9207cef4e0f3a9b28feef26b2f6c1 100644 (file)
@@ -445,10 +445,10 @@ class Random:
 
         # alpha > 0, beta > 0, mean is alpha*beta, variance is alpha*beta**2
         
-       # Warning: a few older sources define the gamma distribution in terms
-       # of alpha > -1.0
-       if alpha <= 0.0 or beta <= 0.0:
-           raise ValueError, 'gammavariate: alpha and beta must be > 0.0'
+        # Warning: a few older sources define the gamma distribution in terms
+        # of alpha > -1.0
+        if alpha <= 0.0 or beta <= 0.0:
+            raise ValueError, 'gammavariate: alpha and beta must be > 0.0'
 
         random = self.random
         if alpha > 1.0: