Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes
pymake.data._NativeWrapper Class Reference
Inheritance diagram for pymake.data._NativeWrapper:
Inheritance graph
[legend]
Collaboration diagram for pymake.data._NativeWrapper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 pycommandpath
 module
 method
 cline_list
 usercb
 ignoreErrors
 loc
 cline
 kwargs
 context

Detailed Description

Definition at line 1178 of file data.py.


Constructor & Destructor Documentation

def pymake.data._NativeWrapper.__init__ (   self,
  cline,
  ignoreErrors,
  loc,
  context,
  pycommandpath,
  kwargs 
)

Definition at line 1180 of file data.py.

01180 
01181                  pycommandpath, **kwargs):
01182         _CommandWrapper.__init__(self, cline, ignoreErrors, loc, context,
01183                                  **kwargs)
01184         # get the module and method to call
01185         parts, badchar = process.clinetoargv(cline)
01186         if parts is None:
01187             raise DataError("native command '%s': shell metacharacter '%s' in command line" % (cline, badchar), self.loc)
01188         if len(parts) < 2:
01189             raise DataError("native command '%s': no method name specified" % cline, self.loc)
01190         if pycommandpath:
01191             self.pycommandpath = re.split('[%s\s]+' % os.pathsep,
01192                                           pycommandpath)
01193         else:
01194             self.pycommandpath = None
01195         self.module = parts[0]
01196         self.method = parts[1]
01197         self.cline_list = parts[2:]


Member Function Documentation

def pymake.data._NativeWrapper.__call__ (   self,
  cb 
)

Reimplemented from pymake.data._CommandWrapper.

Definition at line 1198 of file data.py.

01198 
01199     def __call__(self, cb):
01200         self.usercb = cb
01201         process.call_native(self.module, self.method, self.cline_list,
01202                             loc=self.loc, cb=self._cb, context=self.context,
01203                             pycommandpath=self.pycommandpath, **self.kwargs)


Member Data Documentation

Definition at line 1163 of file data.py.

Definition at line 1196 of file data.py.

Definition at line 1165 of file data.py.

Definition at line 1161 of file data.py.

Definition at line 1164 of file data.py.

Definition at line 1162 of file data.py.

Definition at line 1195 of file data.py.

Definition at line 1194 of file data.py.

Definition at line 1190 of file data.py.

Reimplemented from pymake.data._CommandWrapper.

Definition at line 1199 of file data.py.


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