Commit 196f8cba authored by maruel@chromium.org's avatar maruel@chromium.org

svn always add a \n at the end of the output.

It's better to strip it off.

TEST=none
BUG=none
TBR=nsylvain

Review URL: http://codereview.chromium.org/122009

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18123 0039d316-1c4b-4281-b951-d872f2087c98
parent f5888bb7
...@@ -469,7 +469,7 @@ class SvnAffectedFile(AffectedFile): ...@@ -469,7 +469,7 @@ class SvnAffectedFile(AffectedFile):
def Property(self, property_name): def Property(self, property_name):
if not property_name in self._properties: if not property_name in self._properties:
self._properties[property_name] = gcl.GetSVNFileProperty( self._properties[property_name] = gcl.GetSVNFileProperty(
self.AbsoluteLocalPath(), property_name) self.AbsoluteLocalPath(), property_name).rstrip()
return self._properties[property_name] return self._properties[property_name]
def IsTextFile(self): def IsTextFile(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment