comparison piecrust/baking/baker.py @ 199:aaf08277b96d

bake: Remove `--portable` option until it's (maybe) implemented.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 13 Jan 2015 20:41:44 -0800
parents 232989a6df36
children e725af1d48fb
comparison
equal deleted inserted replaced
198:1d44d8bd93e2 199:aaf08277b96d
16 16
17 logger = logging.getLogger(__name__) 17 logger = logging.getLogger(__name__)
18 18
19 19
20 class Baker(object): 20 class Baker(object):
21 def __init__(self, app, out_dir, force=False, portable=False, 21 def __init__(self, app, out_dir, force=False,
22 no_assets=False, num_workers=4): 22 no_assets=False, num_workers=4):
23 assert app and out_dir 23 assert app and out_dir
24 self.app = app 24 self.app = app
25 self.out_dir = out_dir 25 self.out_dir = out_dir
26 self.force = force 26 self.force = force
27 self.portable = portable
28 self.no_assets = no_assets 27 self.no_assets = no_assets
29 self.num_workers = num_workers 28 self.num_workers = num_workers
30 29
31 # Remember what taxonomy pages we should skip 30 # Remember what taxonomy pages we should skip
32 # (we'll bake them repeatedly later with each taxonomy term) 31 # (we'll bake them repeatedly later with each taxonomy term)