Changeset 479 in tailor


Ignore:
Timestamp:
08/05/05 00:22:06 (8 years ago)
Author:
lele@…
Hash name:
20050804222206-97f81-85f518889562d8738dc837e49555f8252cdf3a03
Message:

Raise an error when the project specified on command line does not exist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/config.py

    r478 r479  
    8282    def __getitem__(self, name): 
    8383        from project import Project 
     84 
     85        if not self.has_section(name): 
     86            raise ConfigurationError("'%s' is not a known project" % name) 
     87 
    8488        return Project(name, self) 
Note: See TracChangeset for help on using the changeset viewer.