PPA downloads broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Triaged
|
Low
|
Unassigned |
Bug Description
gitubuntu.
Example failure:
>>> import tempfile
>>> import launchpadlib.
>>> import gitubuntu.
>>> import gitubuntu.importer
>>> import gitubuntu.
>>> tmpdir=
>>> lp=launchpadlib
>>> repo=gitubuntu.
>>> spphr=next(
>>> guspi=gitubuntu
>>> guspi.pull()
ERROR:root:Failed to pull down source (attempt 1/1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/
raise DownloadError(
ubuntutools.
Since the experimental import-ppa was removed prior to 1.0, I don't think this results in a significant impact right now.
Quick workaround:
diff --git a/gitubuntu/
index 574d692..000f210 100644
--- a/gitubuntu/
+++ b/gitubuntu/
@@ -152,7 +152,7 @@ class GitUbuntuPPASou
self._spph = None
- def _lp_url(self, filename):
+ def _lp_url(self, filename, source=None):
"Build a source package URL on Launchpad"
ret = os.path.join('https:/
However a proper fix would be to start using ubuntutools.