Contact: fumanchu@aminus.org

Log in as guest/dejavu to create tickets

Changeset 156

Show
Ignore:
Timestamp:
02/10/06 15:24:52
Author:
fumanchu
Message:

Comments and a "raise x" fix.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/zoo_fixture.py

    r155 r156  
    124124class ZooTests(unittest.TestCase): 
    125125     
    126     def test_1_schema(self): 
     126    def test_1_model(self): 
    127127        self.assertEqual(Zoo.Animal.__class__, dejavu.ToMany) 
    128128        self.assertEqual(Zoo.Animal.nearClass, Zoo) 
     
    760760class ZooSchema(dejavu.Schema): 
    761761     
     762    # Set "latest" to 1 to test upgrading. 
    762763    latest = 1 
    763764     
  • trunk/units.py

    r155 r156  
    342342            except Exception, x: 
    343343                x.args += (value, type(value)) 
    344                 raise x 
     344                raise 
    345345        return value 
    346346