diff bin/rdfdb @ 904:86c6700d1d63

2013 code ignores 'config.n3' so 2012 code can use that instead Ignore-this: 4ed3fc7943c066376ef9884643a05418
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 10 Jun 2013 06:01:58 +0000
parents 21974e0ef0c4
children 741aa0f9be48
line wrap: on
line diff
--- a/bin/rdfdb	Mon Jun 10 06:00:48 2013 +0000
+++ b/bin/rdfdb	Mon Jun 10 06:01:58 2013 +0000
@@ -218,6 +218,12 @@
         # yet.
         if '-rules' in inFile:
             return
+
+        # for legacy versions, compile all the config stuff you want
+        # read into one file called config.n3. New versions won't read
+        # it.
+        if inFile.endswith("config.n3"):
+            return
             
         ctx = self.uriFromFile(inFile)
         gf = GraphFile(self.notifier, inFile, ctx,