summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sanity.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 3ec449c746..9cd04c42bc 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -124,6 +124,7 @@ def check_supported_distro(e):
124 finally: 124 finally:
125 f.close() 125 f.close()
126 elif os.path.exists("/etc/SuSE-release"): 126 elif os.path.exists("/etc/SuSE-release"):
127 import re
127 f = open("/etc/SuSE-release", "r") 128 f = open("/etc/SuSE-release", "r")
128 try: 129 try:
129 distro = f.readline() 130 distro = f.readline()