Index: scm.py |
diff --git a/scm.py b/scm.py |
index c47afaa3fa8b7e08375a274ce45974f20f4676bd..9c12ba83616bd60a710461920eac057b327d5be9 100644 |
--- a/scm.py |
+++ b/scm.py |
@@ -363,7 +363,8 @@ class SVN(object): |
empty string is also returned. |
""" |
output = SVN.Run(["propget", property_name, file], None) |
- if (output.startswith("svn: ") and |
+ if (output and |
+ output.startswith("svn: ") and |
output.endswith("is not under version control")): |
return "" |
else: |