comparison piecrust/publishing/base.py @ 766:f69fdc601845

publish: Fix crash.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 02 Jul 2016 01:27:00 -0700
parents 6abb436fea5b
children fd694f1297c7
comparison
equal deleted inserted replaced
765:549e21789ad9 766:f69fdc601845
64 yield from ctx.bake_record.deleted 64 yield from ctx.bake_record.deleted
65 yield from ctx.processing_record.deleted 65 yield from ctx.processing_record.deleted
66 66
67 67
68 class ShellCommandPublisherBase(Publisher): 68 class ShellCommandPublisherBase(Publisher):
69 def __init__(self, app, target): 69 def __init__(self, app, target, config):
70 super(ShellCommandPublisherBase, self).__init__(app, target) 70 super(ShellCommandPublisherBase, self).__init__(app, target, config)
71 self.expand_user_args = True 71 self.expand_user_args = True
72 72
73 def run(self, ctx): 73 def run(self, ctx):
74 args = self._getCommandArgs(ctx) 74 args = self._getCommandArgs(ctx)
75 if self.expand_user_args: 75 if self.expand_user_args: