Mercurial > code > home > repos > rdfdb
changeset 12:ebfda644b2d2
give clientsession.py back to light9
Ignore-this: 35a3d395d136388b179e88e984aacf45
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Thu, 26 Apr 2018 07:18:13 +0000 |
parents | 239eb42543ce |
children | c9d1764d64ad |
files | rdfdb/clientsession.py |
diffstat | 1 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/rdfdb/clientsession.py Mon Feb 19 10:29:01 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -""" -some clients will support the concept of a named session that keeps -multiple instances of that client separate -""" -from rdflib import URIRef -from urllib import quote -from light9 import showconfig - -def add_option(parser): - parser.add_option( - '-s', '--session', - help="name of session used for levels and window position", - default='default') - -def getUri(appName, opts): - return URIRef("%s/sessions/%s/%s" % (showconfig.showUri(), appName, - quote(opts.session, safe='')))