From d4941a06194572f1897730c22ded10aa6adcbc1d Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Sat, 28 Aug 2010 14:07:03 -0300 Subject: [PATCH] Minor change to --pidfile argument --- scrapy/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/command.py b/scrapy/command.py index ab8968440..62291a353 100644 --- a/scrapy/command.py +++ b/scrapy/command.py @@ -110,7 +110,7 @@ class ScrapyCommand(object): if opts.pidfile: with open(opts.pidfile, "w") as f: - f.write(str(os.getpid())) + f.write(str(os.getpid()) + os.linesep) def run(self, args, opts): """