Mercurial > code > home > repos > light9
changeset 1282:2c0c3aec0d63
critical fix- put slash in the uri map prefix so it gets removed from uris, so filenames don't have // in them and fail to compare right to other versions
Ignore-this: 3098459d044bbd5ce92a0d5b7b428f27
author | drewp@bigasterisk.com |
---|---|
date | Sun, 14 Jun 2015 18:47:36 +0000 |
parents | 66cd0340bd32 |
children | 349712ddb02d |
files | bin/rdfdb |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/rdfdb Sun Jun 14 18:37:42 2015 +0000 +++ b/bin/rdfdb Sun Jun 14 18:47:36 2015 +0000 @@ -238,6 +238,7 @@ if ctx not in self.graphFiles: outFile = fileForUri(self.dirUriMap, ctx) + assert '//' not in outFile, (outFile, self.dirUriMap, ctx) log.info("starting new file %r", outFile) self.graphFiles[ctx] = GraphFile(self.notifier, outFile, ctx, self.patch, self.getSubgraph) @@ -416,7 +417,7 @@ log.setLevel(logging.DEBUG if options.verbose else logging.INFO) db = Db(dirUriMap={os.environ['LIGHT9_SHOW'].rstrip('/') + '/': - showconfig.showUri()}) + showconfig.showUri() + '/'}) from twisted.python import log as twlog twlog.startLogging(sys.stdout)