changeset 871:f6c73fafffe9

legacy config readers also peek in the show's build/ dir Ignore-this: 3ddeedd14ef8d7d4da630c0d0da76135
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 06 Jun 2013 08:21:56 +0000
parents 7296573ee4c2
children 5e097102e898
files light9/showconfig.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/light9/showconfig.py	Thu Jun 06 08:21:35 2013 +0000
+++ b/light9/showconfig.py	Thu Jun 06 08:21:56 2013 +0000
@@ -13,7 +13,7 @@
     global _config
     if _config is None:
         graph = Graph()
-        for f in FilePath(root()).globChildren("*.n3"):
+        for f in FilePath(root()).globChildren("*.n3") + FilePath(root()).globChildren("build/*.n3"):
             log.info("reading %s", f)
             graph.parse(location=f.path, format='n3')
         _config = graph