Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes | Static Private Attributes
pymake.data.RemakeTargetSerially Class Reference

List of all members.

Public Member Functions

def __init__
def resolvecb
def commandscb

Public Attributes

 target
 makefile
 indent
 rlist

Static Private Attributes

tuple __slots__ = ('target', 'makefile', 'indent', 'rlist')

Detailed Description

Definition at line 471 of file data.py.


Constructor & Destructor Documentation

def pymake.data.RemakeTargetSerially.__init__ (   self,
  target,
  makefile,
  indent,
  rlist 
)

Definition at line 474 of file data.py.

00474 
00475     def __init__(self, target, makefile, indent, rlist):
00476         self.target = target
00477         self.makefile = makefile
00478         self.indent = indent
00479         self.rlist = rlist
00480         self.commandscb(False)


Member Function Documentation

def pymake.data.RemakeTargetSerially.commandscb (   self,
  error 
)

Definition at line 500 of file data.py.

00500 
00501     def commandscb(self, error):
00502         assert error in (True, False)
00503 
00504         if error:
00505             self.target.error = True
00506             self.makefile.error = True
00507 
00508         if self.target.error and not self.makefile.keepgoing:
00509             self.target.notifydone(self.makefile)
00510             return
00511 
00512         if not len(self.rlist):
00513             self.target.notifydone(self.makefile)
00514         else:
00515             self.rlist[0].resolvedeps(True, self.resolvecb)

Here is the call graph for this function:

Here is the caller graph for this function:

def pymake.data.RemakeTargetSerially.resolvecb (   self,
  error,
  didanything 
)

Definition at line 481 of file data.py.

00481 
00482     def resolvecb(self, error, didanything):
00483         assert error in (True, False)
00484 
00485         if didanything:
00486             self.target.didanything = True
00487 
00488         if error:
00489             self.target.error = True
00490             self.makefile.error = True
00491             if not self.makefile.keepgoing:
00492                 self.target.notifydone(self.makefile)
00493                 return
00494             else:
00495                 # don't run the commands!
00496                 del self.rlist[0]
00497                 self.commandscb(error=False)
00498         else:
00499             self.rlist.pop(0).runcommands(self.indent, self.commandscb)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

tuple pymake.data.RemakeTargetSerially.__slots__ = ('target', 'makefile', 'indent', 'rlist') [static, private]

Definition at line 472 of file data.py.

Definition at line 477 of file data.py.

Definition at line 476 of file data.py.

Definition at line 478 of file data.py.

Definition at line 475 of file data.py.


The documentation for this class was generated from the following file: