Revert "Check if a commandline specified configdir exists, error if it doesn't"
authorDaniel Bainton <daniel.bainton@movial.com>
Fri, 20 Mar 2009 12:51:48 +0000 (14:51 +0200)
committerDaniel Bainton <daniel.bainton@movial.com>
Fri, 20 Mar 2009 12:51:48 +0000 (14:51 +0200)
This reverts commit b90d89ffd35fa0e24495b44ac3194a28d2b0d220.

This fix didn't work properly if the configdirs were actually correct and they hadn't been cloned previously, so reverting.

matrix/config.py

index ad1eca6..9d00d12 100644 (file)
@@ -116,8 +116,6 @@ def parse(pattern, require=True):
        found = False
 
        for dir in dirs:
-               if (dir != "" and not exists(dir)):
-                       raise Error("ConfigDir '" + dir + "' not found")
                for path in glob(join(dir, pattern)):
                        if exclude.match(basename(path)):
                                continue