Ubuntu Pastebin

Paste from ogra at Tue, 23 Aug 2016 16:13:25 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ogra@anubis:~/datengrab/devel/branches/snapcraft$ git diff
diff --git a/debian/changelog b/debian/changelog
index fe5c5df..8bcc468 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+snapcraft (2.15.1+ppa1) xenial; urgency=medium
+
+  * forcefully unset http_proxy and https_proxy for bzr branches to work
+    around (LP: #1606203)
+
+ -- Oliver Grawert <ogra@ubuntu.com>  Tue, 23 Aug 2016 17:52:59 +0200
+
 snapcraft (2.15.1) xenial; urgency=medium
 
   [ Robert Ancell ]
diff --git a/snapcraft/internal/sources.py b/snapcraft/internal/sources.py
index b6ee2d6..fb2d75d 100644
--- a/snapcraft/internal/sources.py
+++ b/snapcraft/internal/sources.py
@@ -138,6 +138,8 @@ class Bazaar(Base):
 
     def pull(self):
         tag_opts = []
+        del os.environ['http_proxy']
+        del 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')):
ogra@anubis:~/datengrab/devel/branches/snapcraft$
Download as text