details: http://www.bx.psu.edu/hg/galaxy/rev/a2d3d9514c76 changeset: 3554:a2d3d9514c76 user: rc date: Tue Mar 23 10:09:12 2010 -0400 description: lims: data transfer bug fix diffstat: scripts/galaxy_messaging/server/data_transfer.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diffs (26 lines): diff -r 96776367bea1 -r a2d3d9514c76 scripts/galaxy_messaging/server/data_transfer.py --- a/scripts/galaxy_messaging/server/data_transfer.py Mon Mar 22 18:02:40 2010 -0400 +++ b/scripts/galaxy_messaging/server/data_transfer.py Tue Mar 23 10:09:12 2010 -0400 @@ -158,11 +158,11 @@ cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) f = opener.open(url) - if f.read().find("Now logged in as "+self.datatx_email) == -1: + if f.read().find("ogged in as "+self.datatx_email) == -1: # if the user doesnt exist, create the user url = "%s/user/create?email=%s&username=%s&password=%s&confirm=%s&create_user_button=Submit" % ( base_url, self.datatx_email, self.datatx_email, self.datatx_password, self.datatx_password ) f = opener.open(url) - if f.read().find("Now logged in as "+self.datatx_email) == -1: + if f.read().find("ogged in as "+self.datatx_email) == -1: raise DataTransferException("The "+self.datatx_email+" user could not login to Galaxy") # after login, add dataset to the library params = urllib.urlencode(dict( cntrller='library_admin', @@ -185,7 +185,7 @@ raise DataTransferException("Dataset could not be uploaded to the data library") # finally logout f = opener.open(base_url+'/user/logout') - if f.read().find("You are no longer logged in.") == -1: + if f.read().find("You have been logged out.") == -1: raise DataTransferException("The "+self.datatx_email+" user could not logout of Galaxy") except DataTransferException, (e): self.error_and_exit(e.msg)