add missing logger attribute

This commit is contained in:
Mike Bonnet 2009-02-13 18:26:22 -05:00
parent ef659b76bc
commit 821414b8ba

View file

@ -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