/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/http_server.py

  • Committer: Martin
  • Date: 2017-11-12 13:53:51 UTC
  • mto: This revision was merged to the branch mainline in revision 6810.
  • Revision ID: gzlist@googlemail.com-20171112135351-uyr1ncw7visg62c2
Apply 2to3 ws_comma fixer

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
    def get_multiple_ranges(self, file, file_size, ranges):
230
230
        self.send_response(206)
231
231
        self.send_header('Accept-Ranges', 'bytes')
232
 
        boundary = '%d' % random.randint(0,0x7FFFFFFF)
 
232
        boundary = '%d' % random.randint(0, 0x7FFFFFFF)
233
233
        self.send_header('Content-Type',
234
234
                         'multipart/byteranges; boundary=%s' % boundary)
235
235
        boundary_line = '--%s\r\n' % boundary