Show
Ignore:
Timestamp:
02/16/10 10:59:22 (2 years ago)
Author:
apdavison
Message:

Moved Error classes out of common into an errors module (see ticket:157)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/connectors.py

    r703 r711  
    2020                  fabs, floor, fmod, hypot, ldexp, log, log10, modf, pi, power, \ 
    2121                  sin, sinh, sqrt, tan, tanh 
    22 from pyNN import random, common 
     22from pyNN import random, common, errors 
    2323 
    2424logger = logging.getLogger("PyNN") 
     
    447447                projection.connection_manager.connect(src, [tgt], float(w), float(d)) 
    448448        else: 
    449             raise common.InvalidDimensionsError("OneToOneConnector does not support presynaptic and postsynaptic Populations of different sizes.") 
     449            raise errors.InvalidDimensionsError("OneToOneConnector does not support presynaptic and postsynaptic Populations of different sizes.") 
    450450 
    451451