Back to index

obnam  1.1
Public Member Functions | Public Attributes
obnamlib.sizeparse.UnitNameError Class Reference
Inheritance diagram for obnamlib.sizeparse.UnitNameError:
Inheritance graph
[legend]
Collaboration diagram for obnamlib.sizeparse.UnitNameError:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 msg

Detailed Description

Definition at line 34 of file sizeparse.py.


Constructor & Destructor Documentation

def obnamlib.sizeparse.UnitNameError.__init__ (   self,
  string 
)

Definition at line 36 of file sizeparse.py.

00036 
00037     def __init__(self, string):
00038         self.msg = '"%s" is not a valid unit' % string
00039 


Member Function Documentation

def obnamlib.sizeparse.UnitError.__str__ (   self) [inherited]

Definition at line 24 of file sizeparse.py.

00024 
00025     def __str__(self):
00026         return self.msg
00027 


Member Data Documentation

Definition at line 37 of file sizeparse.py.


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