java/sandbox/data-cat/src/main/python/hpsdatacat
--- java/sandbox/data-cat/src/main/python/hpsdatacat/util.py 2014-06-12 19:17:34 UTC (rev 705)
+++ java/sandbox/data-cat/src/main/python/hpsdatacat/util.py 2014-06-13 17:57:27 UTC (rev 706)
@@ -68,13 +68,13 @@
if 'slac' in domainname:
username = getpass.getuser()
- elif 'jlab' in domainname:
- username = 'hpsdatacat'
+ elif 'jlab' in domainname and getpass.getuser() == 'clashps':
+ username = 'hpscat'
else:
username = None
if username != None:
- connection = [log in to unmask] % username
+ connection = '%s@rhel6-64d.slac.stanford.edu' % username
return connection