Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1692)

Unified Diff: presubmit_support.py

Issue 122009: svn always add a \n at the end of the output. (Closed)
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: presubmit_support.py
diff --git a/presubmit_support.py b/presubmit_support.py
index 58129c1e4ac4dd7293be1301ff57f0b41870b8b1..1368665ed6ba34c276a266bf2bffd71440e42681 100755
--- a/presubmit_support.py
+++ b/presubmit_support.py
@@ -469,7 +469,7 @@ class SvnAffectedFile(AffectedFile):
def Property(self, property_name):
if not property_name in self._properties:
self._properties[property_name] = gcl.GetSVNFileProperty(
- self.AbsoluteLocalPath(), property_name)
+ self.AbsoluteLocalPath(), property_name).rstrip()
return self._properties[property_name]
def IsTextFile(self):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698