/stdhome

To get this branch, use:
bzr branch http://bzr.ed.am/stdhome

« back to all changes in this revision

Viewing changes to lib/stdhome/deployment.py

  • Committer: Tim Marston
  • Date: 2016-02-13 13:25:21 UTC
  • Revision ID: tim@ed.am-20160213132521-46v5774k6ql7tdfn
fixed uninitialised variable

Show diffs side-by-side

added added

removed removed

191
191
                return walker.changed + walker.obstructed
192
192
 
193
193
 
194
 
        def copy_out( self, quiet ):
 
194
        def copy_out( self ):
195
195
                """Copy-out changed files from the repository to the home directory.  If the
196
196
                deployment state includes a list of affected files, then only those
197
197
                files are copied-out.
206
206
 
207
207
                # copy out
208
208
                if the.verbose >= 1: print "exporting files..."
209
 
                walker = CopyOutWalker( self.affected_files, quiet )
 
209
                walker = CopyOutWalker( self.affected_files )
210
210
                walker.walk()
211
211
 
212
212
                # clear state
220
220
                                self.msg = "there is an ongoing deployment"
221
221
                        else:
222
222
                                self.msg = "there is no ongoing deployment"
 
223
 
 
224
 
 
225
        class CopyInConflicts( the.program.FatalError ):
 
226
 
 
227
                def __init__( self, conflicts ):
 
228
                        self.conflicts = conflicts