Codebase list python-procrunner / a45407d
resolve deprecation warnings Markus Gerstel 4 years ago
1 changed file(s) with 5 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
165165 if self._debug:
166166 # Main thread overtook stream reading thread.
167167 underrun_debug_timer = timeit.default_timer()
168 logger.warn("NBSR underrun")
168 logger.warning("NBSR underrun")
169169 self._thread.join()
170170 if not self.has_finished():
171171 if self._debug:
267267 "Resolving executable names only supported on Python 2.7 and 3.5+"
268268 )
269269 else:
270 logger.warn("Could not resolve executable name: package win32api missing")
270 logger.warning(
271 "Could not resolve executable name: package win32api missing"
272 )
271273 return command
272274
273275 try:
299301 if not hasattr(e, "winerror"):
300302 raise
301303
302 logger.warn("Error trying to resolve the executable: %s", logwarning)
304 logger.warning("Error trying to resolve the executable: %s", logwarning)
303305 return command
304306
305307