This is the superclass of several exceptions relating to multi-file operations in produtil.fileop.
More...
This is the superclass of several exceptions relating to multi-file operations in produtil.fileop.
Definition at line 27 of file fileop.py.
|
def | __init__ |
| FileOpError constructor. More...
|
|
def | __str__ (self) |
| A string description of the problem. More...
|
|
def | __iter__ (self) |
| Iterates over a list of tuples, (from,to,message) where from is the source file, to is the destination file and message is a description of the problem with that pair. More...
|
|
|
| message |
| The error message.
|
|
| filename |
| The name of the problematic file.
|
|
| more |
| A list of tuples, (from,to,message) where from is the source file, to is the destination file and message is a description of the problem with that pair. More...
|
|
def produtil.fileop.FileOpError.__init__ |
( |
|
self, |
|
|
|
message, |
|
|
|
filename, |
|
|
|
more = [] |
|
) |
| |
FileOpError constructor.
- Parameters
-
message | the error message |
filename | the name of the problematic file |
more | a list of tuples, (from,to,message) where from is the source file, to is the destination file and message is a description of the problem with that pair. |
Definition at line 30 of file fileop.py.
def produtil.fileop.FileOpError.__iter__ |
( |
|
self | ) |
|
Iterates over a list of tuples, (from,to,message) where from is the source file, to is the destination file and message is a description of the problem with that pair.
Definition at line 54 of file fileop.py.
def produtil.fileop.FileOpError.__str__ |
( |
|
self | ) |
|
A string description of the problem.
Definition at line 51 of file fileop.py.
produtil.fileop.FileOpError.more |
A list of tuples, (from,to,message) where from is the source file, to is the destination file and message is a description of the problem with that pair.
Definition at line 39 of file fileop.py.
Referenced by produtil.fileop.FileOpError.__iter__().
The documentation for this class was generated from the following file:
- /mnt/pan2/projects/hwrfv3/Samuel.Trahan/trunk/ush/produtil/fileop.py