code: def getdirs(self, section, option, raw=False, vars=None, fallback=[]):
          
          globs = self.getlist(section, option, fallback=[])
          return [f for g in globs for f in glob.glob(g) if os.path.isdir(f)]
docs: A convenience method which coerces the option in the specified section to a list of directories.