{"thread":{"id":"20142","subject":"[PATCH] fix \"stg float -s FILE\" for FILE != \"-\"","startedAt":"2009-07-17T09:35:04Z","lastAt":"2009-07-17T12:45:07Z","messageCount":2,"participants":["Hannes Eder","Catalin Marinas"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"118166","messageId":"20090717093504.13718.78957.stgit@jazzy.zrh.corp.google.com","threadId":"20142","inReplyTo":null,"subject":"[PATCH] fix \"stg float -s FILE\" for FILE != \"-\"","fromName":"Hannes Eder","fromEmail":"heder@google.com","sentAt":"2009-07-17T09:35:04Z","receivedAt":"2009-07-17T09:35:04Z","isPatch":true,"sender":{"key":"heder@google.com","avatar":null},"body":"The commit:\n\n  commit 5a1bab1ad60688471e100e310c58c7e60d18cd80\n  Author: Catalin Marinas <catalin.marinas@arm.com>\n  Date:   Thu Apr 9 23:40:59 2009 +0300\n\n      Convert \"float\" to the lib infrastructure\n\nintroduces a bug in \"stg float -s FILE\" when FILE is not equal to \"-\".\nThis patches fixes this issue.\n\nSigned-off-by: Hannes Eder <heder@google.com>\n---\n stgit/commands/float.py |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/stgit/commands/float.py b/stgit/commands/float.py\nindex e561c39..9316398 100644\n--- a/stgit/commands/float.py\n+++ b/stgit/commands/float.py\n@@ -16,6 +16,7 @@ along with this program; if not, write to the Free Software\n Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n \"\"\"\n \n+import re\n import sys\n from stgit.argparse import opt\n from stgit.commands import common\n@@ -55,7 +56,7 @@ def func(parser, options, args):\n         if options.series == '-':\n             f = sys.stdin\n         else:\n-            f = file(args[0])\n+            f = file(options.series)\n \n         patches = []\n         for line in f:\n"},{"id":"118172","messageId":"1247834707.6313.5.camel@pc1117.cambridge.arm.com","threadId":"20142","inReplyTo":"20090717093504.13718.78957.stgit@jazzy.zrh.corp.google.com","subject":"Re: [PATCH] fix \"stg float -s FILE\" for FILE != \"-\"","fromName":"Catalin Marinas","fromEmail":"catalin.marinas@arm.com","sentAt":"2009-07-17T12:45:07Z","receivedAt":"2009-07-17T12:45:07Z","isPatch":true,"sender":{"key":"catalin.marinas@arm.com","avatar":null},"body":"On Fri, 2009-07-17 at 11:35 +0200, Hannes Eder wrote:\n> The commit:\n> \n>   commit 5a1bab1ad60688471e100e310c58c7e60d18cd80\n>   Author: Catalin Marinas <catalin.marinas@arm.com>\n>   Date:   Thu Apr 9 23:40:59 2009 +0300\n> \n>       Convert \"float\" to the lib infrastructure\n> \n> introduces a bug in \"stg float -s FILE\" when FILE is not equal to \"-\".\n> This patches fixes this issue.\n> \n> Signed-off-by: Hannes Eder <heder@google.com>\n\nApplied, thanks.\n\n-- \nCatalin\n"}]}