summaryrefslogtreecommitdiff
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 3ec449c74..9cd04c42b 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -124,6 +124,7 @@ def check_supported_distro(e):
finally:
f.close()
elif os.path.exists("/etc/SuSE-release"):
+ import re
f = open("/etc/SuSE-release", "r")
try:
distro = f.readline()