[PATCH 1/2] Update the URL to be based upon a /user/copr/<action> structure

Miroslav Suchý msuchy at redhat.com
Mon Sep 16 07:18:38 UTC 2013


On 09/14/2013 01:09 PM, Pierre-Yves Chibon wrote:
> Looking forward for your feedbacks,

When I try to build package:
   tito build --test --rpm
I get:
Bytecompiling .py files below /home/msuchy/rpmbuild/BUILDROOT/copr-1.1-1.git.62.93c8b68.fc19.x86_64/usr/lib/python2.7/ 
using /usr/bin/python2.7
Compiling 
/home/msuchy/rpmbuild/BUILDROOT/copr-1.1-1.git.62.93c8b68.fc19.x86_64/usr/share/copr/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_general.py 
...
   File "/usr/share/copr/coprs_frontend/tests/test_views/test_coprs_ns/test_coprs_general.py", line 70
     r = self.test_client.post('/coprs/{0}/new/'.format(self.u1.name)', data={'name': 'foo', 'fedora-rawhide-i386': 'y', 
'arches': ['i386']}, follow_redirects=True)
                                                                              ^
SyntaxError: invalid syntax


You forgot one apostrophe after format().

When I fixed that and installed it, it seems good to me. Fix that one problem and commit.


-- 
Miroslav Suchy, RHCE, RHCDS
Red Hat, Software Engineer, #brno, #devexp, #fedora-buildsys


More information about the copr-devel mailing list