connectors/__init__.py
changeset 591 3ece9ba72aaf
parent 399 77e23bf04c33
child 717 1c23952dbde1
equal deleted inserted replaced
590:d3fb687dd0b9 591:3ece9ba72aaf
    27 
    27 
    28 _base_path = path.split(__file__)[0]
    28 _base_path = path.split(__file__)[0]
    29 
    29 
    30 connector_types = [name for name in listdir(_base_path)
    30 connector_types = [name for name in listdir(_base_path)
    31                         if path.isdir(path.join(_base_path, name))
    31                         if path.isdir(path.join(_base_path, name))
    32                             and name.upper() != "CVS"
    32                             and name.lower() != ".hg"
    33                             and not name.startswith("__")]
    33                             and not name.startswith("__")]
    34 
    34 
    35 # a dict from a URI scheme (connector name) to connector module
    35 # a dict from a URI scheme (connector name) to connector module
    36 connector_modules = {}
    36 connector_modules = {}
    37 
    37