Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F118353222
D137.1775774938.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
618 B
Referenced Files
None
Subscribers
None
D137.1775774938.diff
View Options
diff --git a/wallace/__init__.py b/wallace/__init__.py
--- a/wallace/__init__.py
+++ b/wallace/__init__.py
@@ -103,6 +103,7 @@
def __init__(self):
self.current_connections = 0
self.max_connections = 24
+ self.pool = None
daemon_group = conf.add_cli_parser_option_group(_("Daemon Options"))
@@ -335,8 +336,9 @@
if os.access(conf.pidfile, os.R_OK):
os.remove(conf.pidfile)
- self.pool.close()
- self.pool.join()
+ if self.pool is not None:
+ self.pool.close()
+ self.pool.join()
raise SystemExit
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 10:48 PM (16 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18833486
Default Alt Text
D137.1775774938.diff (618 B)
Attached To
Mode
D137: Prevent from AttributeError when stopping wallace
Attached
Detach File
Event Timeline