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)