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

Pierre-Yves Chibon pingou at pingoured.fr
Mon Sep 16 07:45:10 UTC 2013


On Mon, Sep 16, 2013 at 09:18:38AM +0200, Miroslav Suchý wrote:
> 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.

Thanks for reviewing, I fixed the quote typo and pushed.

Pierre


More information about the copr-devel mailing list