Comment 3 for bug 1606203

Revision history for this message
Oliver Grawert (ogra) wrote :

adding this hack to snapcraft works (but i was told it is undesired upstream)

diff --git a/snapcraft/internal/sources.py b/snapcraft/internal/sources.py
index b6ee2d6..9a2171d 100644
--- a/snapcraft/internal/sources.py
+++ b/snapcraft/internal/sources.py
@@ -138,6 +138,8 @@ class Bazaar(Base):

     def pull(self):
         tag_opts = []
+ os.environ['http_proxy'] = ""
+ os.environ['https_proxy'] = ""
         if self.source_tag:
             tag_opts = ['-r', 'tag:' + self.source_tag]
         if os.path.exists(os.path.join(self.source_dir, '.bzr')):