mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
Rename fetch-sources to fetch_sources in the tito.props config
Complements PR #407 Every other `tito.props` config option uses underscores instead of dashes, so let's preserve this convention.
This commit is contained in:
parent
5de167e0ff
commit
971c39b5ed
1 changed files with 2 additions and 2 deletions
|
@ -274,8 +274,8 @@ class BaseCliModule(object):
|
|||
"offline"):
|
||||
self.options.offline = True
|
||||
|
||||
if self.config.has_option(BUILDCONFIG_SECTION, "fetch-sources"):
|
||||
self.options.fetch_sources = self.config.get(BUILDCONFIG_SECTION, "fetch-sources")
|
||||
if self.config.has_option(BUILDCONFIG_SECTION, "fetch_sources"):
|
||||
self.options.fetch_sources = self.config.get(BUILDCONFIG_SECTION, "fetch_sources")
|
||||
|
||||
# TODO: Not ideal:
|
||||
if self.options.debug:
|
||||
|
|
Loading…
Add table
Reference in a new issue