also accept ".inc" as a legitimate file extension
authorPhil Blundell <philb@gnu.org>
Tue, 21 Sep 2004 21:52:04 +0000 (21:52 +0000)
committerPhil Blundell <philb@gnu.org>
Tue, 21 Sep 2004 21:52:04 +0000 (21:52 +0000)
bin/oe/parse/OEHandler.py

index 78aa27c..c614a5a 100644 (file)
@@ -30,7 +30,7 @@ classes = [ None, ]
 
 def supports(fn, d):
     localfn = localpath(fn, d)
-    return localfn[-3:] == ".oe" or localfn[-8:] == ".oeclass"
+    return localfn[-3:] == ".oe" or localfn[-8:] == ".oeclass" or localfn[-4:] == ".inc"
 
 def inherit(files, d):
     __inherit_cache = data.getVar('__inherit_cache', d) or ""