aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2019-12-22 15:58:16 +0100
committerGuido Günther <agx@sigxcpu.org>2019-12-22 15:58:16 +0100
commitabe1ec75401a5e374115c69c0d25dcdbdaddf971 (patch)
tree9be625d221b2876efde770a838726d774e47bc9a
parentd4ca59b3d9a2be8657b08b1073b44b68b2d55742 (diff)
import-orig: Recommend python3-requests
The python2 version won't do
-rw-r--r--docs/manpages/gbp-import-orig.xml2
-rw-r--r--gbp/scripts/common/import_orig.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/manpages/gbp-import-orig.xml b/docs/manpages/gbp-import-orig.xml
index 0ff2787a..79274d32 100644
--- a/docs/manpages/gbp-import-orig.xml
+++ b/docs/manpages/gbp-import-orig.xml
@@ -67,7 +67,7 @@
<replaceable>url</replaceable>: The tarball is downloaded
from a <replaceable>http</replaceable>
or <replaceable>https</replaceable> <replaceable>url</replaceable>.
- This needs the python-request package installed.
+ This needs the python3-request package installed.
</para>
</listitem>
<listitem>
diff --git a/gbp/scripts/common/import_orig.py b/gbp/scripts/common/import_orig.py
index f6f32065..59093683 100644
--- a/gbp/scripts/common/import_orig.py
+++ b/gbp/scripts/common/import_orig.py
@@ -157,7 +157,7 @@ def download_orig(url):
requests = None
if requests is None:
- raise GbpError("python-requests not installed")
+ raise GbpError("python3-requests not installed")
tarball = os.path.basename(url)
target = os.path.join('..', tarball)