add missing logger attribute
This commit is contained in:
parent
ef659b76bc
commit
821414b8ba
1 changed files with 2 additions and 0 deletions
|
|
@ -2724,6 +2724,8 @@ class SCM(object):
|
|||
The exact format of each attribute is SCM-specific, but the structure of the url
|
||||
must conform to the template above, or an error will be raised.
|
||||
"""
|
||||
self.logger = logging.getLogger('koji.build.SCM')
|
||||
|
||||
if not SCM.is_scm_url(url):
|
||||
raise koji.GenericError, 'Invalid SCM URL: %s' % url
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue