summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/metadata_scm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/metadata_scm.bbclass b/meta/classes/metadata_scm.bbclass
index ba0edf9486..237e61821d 100644
--- a/meta/classes/metadata_scm.bbclass
+++ b/meta/classes/metadata_scm.bbclass
@@ -60,7 +60,7 @@ def base_get_metadata_svn_revision(path, d):
60 try: 60 try:
61 with open("%s/.svn/entries" % path) as f: 61 with open("%s/.svn/entries" % path) as f:
62 revision = f.readlines()[3].strip() 62 revision = f.readlines()[3].strip()
63 except IOError, IndexError: 63 except (IOError, IndexError):
64 pass 64 pass
65 return revision 65 return revision
66 66