Samo Penic
2018-12-11 79ee3747258bc94c4c80ecee1fbc0e8f00103d64
No more logging of could not get RID.
1 files modified
4 ■■■■ changed files
tsclient.py 4 ●●●● patch | view | raw | blame | history
tsclient.py
@@ -54,7 +54,7 @@
        status=client_data['status']
        return (rid,tape,vtu,status)
    else:
        print(response.text)
        #print(response.text)
        if(response.status_code==400):
            raise ValueError
        else:
@@ -186,7 +186,7 @@
                try:
                    (rid,tape,vtu,status)=get_run(self.conn_address,cid)
                except NameError:
                    print("[{}] Could not get RID.".format(self.id))
                    #print("[{}] Could not get RID.".format(self.id))
                    self.sleep(10)
                    client_ping_time_elapsed+=10
                    if(client_ping_time_elapsed>=self.max_client_ping_time_elapsed):