[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] config: add option to include other files



Title: GitLab

Ansgar Burchardt pushed to branch master at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • daklib/config.py
    ... ... @@ -90,6 +90,10 @@ class Config(object):
    90 90
                             apt_pkg.read_config_file_isc(self.Cnf, bygroup[group])
    
    91 91
                         break
    
    92 92
     
    
    93
    +        if 'Include' in self.Cnf:
    
    94
    +            for filename in self.Cnf.value_list('Include'):
    
    95
    +                apt_pkg.read_config_file_isc(self.Cnf, filename)
    
    96
    +
    
    93 97
             # Rebind some functions
    
    94 98
             # TODO: Clean this up
    
    95 99
             self.get = self.Cnf.get
    


  • Reply to: