Vincent Jacques
6a92d3ed63
Make PaginatedList.reversed return a new list (follow-up #184 )
...
This will avoid surprises if both the list and its reversed version
are iterated.
2013-08-21 13:02:21 +02:00
davidbrai
cb03b9e7d1
bugfix: returning real list instead of generator
...
Changed reversed(content) to content[::-1] in order to return
a real list and not a generator.
The code in PaginatedListBase.__grow does an iteration over
newElements when using `+=` and then returns them.
When using a generator, newElements would be empty when they are returned.
2013-08-03 16:49:10 +03:00
davidbrai
ef4cf44ebd
support reverse iteration in PaginatedList
...
This uses the 'last' and 'prev' links in the HTTP headers.
The usage is repo.get_issues().reversed
2013-08-02 18:20:39 +03:00
Vincent Jacques
06a3d87098
Change source file header format
2013-07-13 19:03:53 +02:00
Vincent Jacques
56309b90f2
Run the script added in previous commit
2013-07-13 11:10:00 +02:00
Vincent Jacques
837dff5677
Restore coverage
2013-07-07 17:44:47 +02:00
Vincent Jacques
792970e524
pep8
2013-07-07 17:30:24 +02:00
Vincent Jacques
88db904484
Add a (redoundant) test for pull #176
2013-06-19 12:35:25 +02:00
davidbrai
8d22935180
bugfix: using custom per_page in repo.get_comments
2013-06-19 00:36:03 +03:00
Vincent Jacques
db5560bd65
Add a script to check copyrights with git log. And fix copyrights.
2013-03-29 16:54:15 +01:00
Vincent Jacques
5d02de6f82
Restore 100% test coverage
2013-03-19 22:19:30 +01:00
Vincent Jacques
e25a6a49d1
Add Github.per_page to tweak PaginatedList (Issue #145 )
2013-03-14 12:01:41 +01:00
Vincent Jacques
7a415fda66
Change home page
2013-02-16 21:19:49 +01:00
Zearin
4c6a70c24a
Add encoding comment to source files
...
This is a minor thing. It’s a convention, not a rule (obviously)—but it’s also a best practice.
Many text editors look for this kind of comment as the first line—or second line, if there is a shebang (the `#!/usr/bin/env python`, or whatever else)—and make use of this to determine the file’s encoding.
2012-11-01 11:43:56 -04:00
Vincent Jacques
ca1e799826
Restore measure of test coverage
2012-10-28 15:53:03 +01:00
Vincent Jacques
531c3f2d32
Improve comformance to pep8 (+dos2unix)
...
PyGithub is now a public projects with several public contibutors,
I have to abandon my very personal coding conventions.
2012-09-17 20:37:22 +02:00
Vincent Jacques
aadb06753c
On the way to publish tests (issue #86 )
...
This commit only moves stuff around.
Modifications will be done in next commit.
2012-09-16 20:07:33 +02:00