##// END OF EJS Templates
Merge pull request #4342 from abhinav-upadhyay/unnessary-variable-assignment...
Thomas Kluyver -
r12948:f8bc560e merge
parent child Browse files
Show More
@@ -328,10 +328,9 b" def reload(module, exclude=['sys', 'os.path', '__builtin__', '__main__']):"
328 328 found_now[i] = 1
329 329 try:
330 330 with replace_import_hook(deep_import_hook):
331 ret = deep_reload_hook(module)
331 return deep_reload_hook(module)
332 332 finally:
333 333 found_now = {}
334 return ret
335 334
336 335 # Uncomment the following to automatically activate deep reloading whenever
337 336 # this module is imported
@@ -143,10 +143,9 b' def latex_to_png_dvipng(s, wrap):'
143 143 stdout=devnull, stderr=devnull)
144 144
145 145 with open(outfile, "rb") as f:
146 bin_data = f.read()
146 return f.read()
147 147 finally:
148 148 shutil.rmtree(workdir)
149 return bin_data
150 149
151 150
152 151 def kpsewhich(filename):
General Comments 0
You need to be logged in to leave comments. Login now