use Repository.__str__() in messages
[matrix.git] / matrix / build.py
index c8a68a1..f25e294 100644 (file)
@@ -160,11 +160,11 @@ class Builder(object):
                if not c.repo.exists():
                        c.repo.clone()
 
-               print 'Building', c.repo.path
+               print 'Building', c.repo
                self.start_job(c, 'build_matrix_component', 'in-build')
 
        def start_install(self, c):
-               print 'Installing', c.repo.path
+               print 'Installing', c.repo
                self.start_job(c, 'install_matrix_component', 'in-install')
 
        def start_job(self, c, make_target, state):
@@ -188,7 +188,7 @@ class Builder(object):
 
                        self.progress.increment()
                        if config.debug:
-                               print 'Built', c.repo.path
+                               print 'Built', c.repo
 
                        c.state = 'wait-install'
                        self.wait_install.append(c)
@@ -212,7 +212,7 @@ class Builder(object):
                                return
 
                        self.progress.increment()
-                       print 'Finished', c.repo.path
+                       print 'Finished', c.repo
 
                        c.state = 'done'
                        self.in_install = None