summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorTakashi Natsume <takanattie@gmail.com>2022-08-26 00:53:00 +0900
committerTakashi Natsume <takanattie@gmail.com>2022-11-14 13:04:05 +0000
commit628e1c152cc7c5e89d5261fc6f25ec72ac24c1df (patch)
tree66fafa029adcddf385f279e799d1375ebe0405aa /HACKING.rst
parent2eb358cdcec36fcfe5388ce6982d2961ca949d0a (diff)
downloadnova-628e1c152cc7c5e89d5261fc6f25ec72ac24c1df.tar.gz
Add a hacking rule for the setDaemon method
Add the following hacking rule. * N372: Don't use the setDaemon method. Use the daemon attribute instead. Change-Id: Idb45421205f76d2d3b0576bd0504d261ed249edd Related-Bug: 1987191 Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index a2f67d993b..c5a1ba4ae3 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -76,6 +76,7 @@ Nova Specific Commandments
with eventlet patched code. Use nova.utils.ReaderWriterLock() instead.
- [N370] Don't use or import six
- [N371] You must explicitly import python's mock: ``from unittest import mock``
+- [N372] Don't use the setDaemon method. Use the daemon attribute instead.
Creating Unit Tests
-------------------