Fixed a little issue in the subversion plug-in. 5_0_x

Sat, 05 Feb 2011 14:22:28 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 05 Feb 2011 14:22:28 +0100
branch
5_0_x
changeset 879
f13be7b268e9
parent 876
e21d70cf933c
child 884
901cf274435c

Fixed a little issue in the subversion plug-in.

Plugins/VcsPlugins/vcsSubversion/SvnDialog.py file | annotate | diff | comparison | revisions
diff -r e21d70cf933c -r f13be7b268e9 Plugins/VcsPlugins/vcsSubversion/SvnDialog.py
--- a/Plugins/VcsPlugins/vcsSubversion/SvnDialog.py	Sat Feb 05 10:55:53 2011 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnDialog.py	Sat Feb 05 14:22:28 2011 +0100
@@ -164,7 +164,7 @@
             if not self.__hasAddOrDelete and len(s) > 0:
                 # check the output
                 for l in s.split(os.linesep):
-                    if l[0].strip() in ['A', 'D']:
+                    if l and l[0].strip() in ['A', 'D']:
                         self.__hasAddOrDelete = True
                         break
         

eric ide

mercurial