/[papo]/gnue/common/src/GTypecast.py
ViewVC logotype

Diff of /gnue/common/src/GTypecast.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by charlie, Tue Aug 27 18:15:52 2002 UTC revision 1.3.2.1 by apronotti, Thu Aug 21 18:22:14 2003 UTC
# Line 111  def number (value): Line 111  def number (value):
111    except ValueError:    except ValueError:
112      raise TypecastError      raise TypecastError
113    
114    #######################################################
115    #
116    # Join condition type
117    #
118    # This is for typecasting join conditions types
119    #
120    #######################################################
121    def joinConditionType (value):
122      if value:
123        value = str(value).lower()
124        if value in ['inner','left','right','full']:
125          return value
126        else:
127          raise TypecastError
128    
129    
130  #######################################################  #######################################################
131  #  #

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26