Changeset 131:9f4885429b5b

Show
Ignore:
Timestamp:
06/21/07 10:11:55 (15 months ago)
Author:
Tarek Ziad?? <tarek@…>
Message:

fixes

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • neighbors/__init__.py

    r128 r131  
    1 from neighbours import compute 
     1from neighbours import compute, get 
    22 
    33if __name__ == '__main__': 
  • neighbors/doc/neighbours.txt

    r129 r131  
    1212    >>> from neighbours import get 
    1313    >>> get('tarek') 
    14     [(0.04..., 'robert'), (0.04..., 'test')] 
     14    [(0.56..., 'robert'), (0.56..., 'test')] 
    1515 
  • xap/model.py

    r125 r131  
    88curdir = os.path.realpath(curdir) 
    99 
    10 sql_db = create_engine('mysql://chainon:chainon@localhost/chainon') 
     10sql_db = create_engine('postgres://chainon:chainon@localhost/chainon') 
    1111metadata = BoundMetaData(sql_db) 
    1212