| Index: rietveld.py
|
| diff --git a/rietveld.py b/rietveld.py
|
| index 6f4f4ae7fd864e07355c572dd79011157a7bda92..e64a46d1c9decd04ecf2266cb1501667945530c4 100644
|
| --- a/rietveld.py
|
| +++ b/rietveld.py
|
| @@ -160,7 +160,9 @@ class Rietveld(object):
|
| if status[0] == 'A':
|
| # It won't be set for empty file.
|
| p.is_new = True
|
| - if status[1] == '+' and not (p.source_filename or p.svn_properties):
|
| + if (len(status) > 1 and
|
| + status[1] == '+' and
|
| + not (p.source_filename or p.svn_properties)):
|
| raise patch.UnsupportedPatchFormat(
|
| filename, 'Failed to process the svn properties')
|
| else:
|
|
|