Show More
@@ -181,11 +181,9 b' class sshserver(object):' | |||
|
181 | 181 | self.respond('') |
|
182 | 182 | |
|
183 | 183 | # write bundle data to temporary file because it can be big |
|
184 | tempname = fp = None | |
|
185 | try: | |
|
186 | 184 |
|
|
187 | 185 |
|
|
188 | ||
|
186 | try: | |
|
189 | 187 | count = int(self.fin.readline()) |
|
190 | 188 | while count: |
|
191 | 189 | fp.write(self.fin.read(count)) |
@@ -212,9 +210,7 b' class sshserver(object):' | |||
|
212 | 210 | self.lock.release() |
|
213 | 211 | self.lock = None |
|
214 | 212 | finally: |
|
215 | if fp is not None: | |
|
216 | 213 |
|
|
217 | if tempname is not None: | |
|
218 | 214 |
|
|
219 | 215 | |
|
220 | 216 | def do_stream_out(self): |
General Comments 0
You need to be logged in to leave comments.
Login now