Fixes the following error on shutdown:
Traceback (most recent call last):
File "./nilfs2_ss_manager", line 211, in <module>
mainloop.run()
TypeError: __exit__() takes exactly 1 argument (4 given)
Signed-off-by: Ryusuke Konishi <[email protected]>
---
nilfs2_ss_manager/nilfs2_ss_manager | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/nilfs2_ss_manager/nilfs2_ss_manager
b/nilfs2_ss_manager/nilfs2_ss_manager
index 5821e2a..cff7d35 100755
--- a/nilfs2_ss_manager/nilfs2_ss_manager
+++ b/nilfs2_ss_manager/nilfs2_ss_manager
@@ -150,7 +150,7 @@ class NODaemonContext:
def __enter__(self):
pass
- def __exit__(self):
+ def __exit__(self, *execinfo):
pass
def register_sighandlers(managers, mainloop):
--
1.7.2.3
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html