# HG changeset patch # User Drew Perttula # Date 1524727093 0 # Node ID ebfda644b2d2744e2981ba5fae3b94e45740dc29 # Parent 239eb42543cee53c6fa8258313e8092ff3e62f44 give clientsession.py back to light9 Ignore-this: 35a3d395d136388b179e88e984aacf45 diff -r 239eb42543ce -r ebfda644b2d2 rdfdb/clientsession.py --- 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='')))