##// END OF EJS Templates
lock: pass sysstr to warnings module...
Augie Fackler -
r37914:2efefde3 default
parent child Browse files
Show More
@@ -204,7 +204,7 b' class lock(object):'
204
204
205 def __del__(self):
205 def __del__(self):
206 if self.held:
206 if self.held:
207 warnings.warn("use lock.release instead of del lock",
207 warnings.warn(r"use lock.release instead of del lock",
208 category=DeprecationWarning,
208 category=DeprecationWarning,
209 stacklevel=2)
209 stacklevel=2)
210
210
General Comments 0
You need to be logged in to leave comments. Login now