From 6189f27f7ffd7deb2879af220d30a0e4e7898204 Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Thu, 22 Oct 2015 12:49:25 +0100 Subject: [PATCH] Fix urllib import in BreakpadSymbols --- buildbot/BreakpadSymbols | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildbot/BreakpadSymbols b/buildbot/BreakpadSymbols index 2595a2b..c83ad22 100644 --- a/buildbot/BreakpadSymbols +++ b/buildbot/BreakpadSymbols @@ -30,9 +30,9 @@ class SymbolCommand(ShellCommand): def run(self, master, job): ShellCommand.run(self, master, job) if self.stdout != None and len(self.stdout) > 0: - request = urllib.request.Request(symbolServer, self.stdout.encode('utf-8')) + request = urllib.Request(symbolServer, self.stdout.encode('utf-8')) request.add_header("Content-Type", "text/plain") - self.serverResponse = urllib.request.urlopen(request).read().decode('utf-8') + self.serverResponse = urllib.urlopen(request).read().decode('utf-8') def spew(self, runner): if self.stderr != None and len(self.stderr) > 0: runner.PrintOut(self.stderr)