Show More
@@ -334,10 +334,10 b' invalid arch type should give 404' | |||||
334 | > pass |
|
334 | > pass | |
335 | > if len(sys.argv) <= 3: |
|
335 | > if len(sys.argv) <= 3: | |
336 | > node, archive = sys.argv[1:] |
|
336 | > node, archive = sys.argv[1:] | |
337 |
> requeststr = 'cmd=archive |
|
337 | > requeststr = 'cmd=archive&node=%s&type=%s' % (node, archive) | |
338 | > else: |
|
338 | > else: | |
339 | > node, archive, file = sys.argv[1:] |
|
339 | > node, archive, file = sys.argv[1:] | |
340 |
> requeststr = 'cmd=archive |
|
340 | > requeststr = 'cmd=archive&node=%s&type=%s&file=%s' % (node, archive, file) | |
341 | > try: |
|
341 | > try: | |
342 | > stdout = sys.stdout.buffer |
|
342 | > stdout = sys.stdout.buffer | |
343 | > except AttributeError: |
|
343 | > except AttributeError: |
General Comments 0
You need to be logged in to leave comments.
Login now