[copr] master: Use the formatting metod for printing chroots (68c1d20)

bkabrda at fedoraproject.org bkabrda at fedoraproject.org
Tue Jan 15 11:06:09 UTC 2013


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : master

>---------------------------------------------------------------

commit 68c1d2052944123b144abc5ffa2deec70fa28d76
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Mon Jan 14 10:50:53 2013 +0100

    Use the formatting metod for printing chroots


>---------------------------------------------------------------

 coprs_frontend/manage.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/coprs_frontend/manage.py b/coprs_frontend/manage.py
index 7c9cddf..322cd61 100755
--- a/coprs_frontend/manage.py
+++ b/coprs_frontend/manage.py
@@ -107,7 +107,7 @@ class DisplayChrootsCommand(Command):
         if active_only:
             chroots = chroots.filter(models.MockChroot.is_active==True)
         for ch in chroots:
-            print '{0}-{1}-{2}'.format(ch.os_release, ch.os_version, ch.arch)
+            print ch.chroot_name
 
     option_list = (
             Option('--active-only',



More information about the copr-devel mailing list