]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
An import MacOS was missing after the code-rearranging. Added.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 19 Jun 2001 20:11:36 +0000 (20:11 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 19 Jun 2001 20:11:36 +0000 (20:11 +0000)
Lib/profile.py

index a6d56376c03c06ef5af6fa25bc5a77d4e18d573e..5df1025ed0fb4f93009be912c2c94eb9948cc8c3 100755 (executable)
@@ -90,6 +90,7 @@ def help():
 
 
 if os.name == "mac":
+    import MacOS
     def _get_time_mac(timer=MacOS.GetTicks):
         return timer() / 60.0