Skip to content

Commit 5d43366

Browse files
Debian Science Teamrebecca-palmer
Debian Science Team
authored andcommitted
Don't try to read a contributor list from the git log
Debian packages are built from tarballs, so there isn't a git log. Author: Rebecca N. Palmer <[email protected]> Forwarded: not-needed Gbp-Pq: Name contributor_list_not_in_tarball.patch
1 parent c5fdf9e commit 5d43366

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/sphinxext/contributors.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,16 @@
1414
While the v0.23.1 tag does not exist, that will use the HEAD of the
1515
branch as the end of the revision range.
1616
"""
17-
from announce import build_components
1817
from docutils import nodes
1918
from docutils.parsers.rst import Directive
20-
import git
2119

2220

2321
class ContributorsDirective(Directive):
2422
required_arguments = 1
2523
name = "contributors"
2624

2725
def run(self):
26+
return [nodes.paragraph(), nodes.Text("For contributors, please see /usr/share/doc/contributors_list.txt or https://github.com/pandas-dev/pandas/graphs/contributors")]
2827
range_ = self.arguments[0]
2928
if range_.endswith("x..HEAD"):
3029
return [nodes.paragraph(), nodes.bullet_list()]

0 commit comments

Comments
 (0)