comparison piecrust/main.py @ 489:186a29f61ddc

internal: Fix timing info.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 22 Jul 2015 21:33:15 -0700
parents a8028bf329a2
children 353a0b30f412
comparison
equal deleted inserted replaced
488:a00750896316 489:186a29f61ddc
167 return res 167 return res
168 168
169 169
170 def _run_chef(pre_args, argv): 170 def _run_chef(pre_args, argv):
171 # Setup the app. 171 # Setup the app.
172 start_time = time.clock() 172 start_time = time.perf_counter()
173 root = pre_args.root 173 root = pre_args.root
174 if root is None: 174 if root is None:
175 try: 175 try:
176 root = find_app_root() 176 root = find_app_root()
177 except SiteNotFoundError: 177 except SiteNotFoundError: