[Pkg-mozext-commits] [adblock-plus] 340/464: Always use Unix-style line breaks in rewriting result

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 060ffdddc6ebb5dc59dd3045be7279acbb21d6be
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon Dec 17 14:22:34 2012 +0100

    Always use Unix-style line breaks in rewriting result
---
 abp_rewrite.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/abp_rewrite.py b/abp_rewrite.py
index 9d2150a..71b7587 100644
--- a/abp_rewrite.py
+++ b/abp_rewrite.py
@@ -21,6 +21,7 @@ def doRewrite(files, args):
     '--arg', ' '.join(args)
   ] + files
   result, dummy = subprocess.Popen(command, stdout=subprocess.PIPE, env=env).communicate()
+  result = result.replace('\r', '')
   return result
 
 if __name__ == '__main__':

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list