All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>
To: Jiro SEKIBA <jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org>
Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Ryusuke Konishi <ryusuke-sG5X7nlA6pw@public.gmane.org>
Subject: [PATCH] nilfs2_ss_manager: fix TypeError at exit
Date: Sun,  6 Feb 2011 21:24:17 +0900	[thread overview]
Message-ID: <1296995057-30479-1-git-send-email-ryusuke@osrg.net> (raw)

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 <ryusuke-sG5X7nlA6pw@public.gmane.org>
---
 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2011-02-06 12:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-06 12:24 Ryusuke Konishi [this message]
     [not found] ` <1296995057-30479-1-git-send-email-ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-02-06 12:34   ` [PATCH] nilfs2_ss_manager: fix TypeError at exit Ryusuke Konishi
     [not found]     ` <20110206.213453.187450645.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-02-07  3:49       ` Jiro SEKIBA
     [not found]         ` <87mxm8a4hg.wl%jir-27yqGEOhnJbQT0dZR+AlfA@public.gmane.org>
2011-02-07  4:13           ` Ryusuke Konishi
     [not found]             ` <20110207.131318.212382134.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-02-08  8:42               ` Jiro SEKIBA
     [not found]                 ` <87aai6533k.wl%jir-27yqGEOhnJbQT0dZR+AlfA@public.gmane.org>
2011-02-08 10:52                   ` Ryusuke Konishi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1296995057-30479-1-git-send-email-ryusuke@osrg.net \
    --to=ryusuke-sg5x7nla6pw@public.gmane.org \
    --cc=jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org \
    --cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.