86 global btannounce_timeout |
86 global btannounce_timeout |
87 btannounce_timeout = time.time() + (cfg ('btlatest_checkinterval', 5) * 60) |
87 btannounce_timeout = time.time() + (cfg ('btlatest_checkinterval', 5) * 60) |
88 |
88 |
89 if suds_active: |
89 if suds_active: |
90 try: |
90 try: |
91 btannounce_id = suds_client.service.mc_issue_get_biggest_id (g_config['trackeruser'], g_config ['trackerpassword'], 0) - 1 |
91 btannounce_id = suds_client.service.mc_issue_get_biggest_id (g_config['trackeruser'], g_config ['trackerpassword'], 0) |
92 btannounce_active = True |
92 btannounce_active = True |
93 bt_updatechecktimeout() |
93 bt_updatechecktimeout() |
94 print "Latest ticket on tracker: %d" % btannounce_id |
94 print "Latest ticket on tracker: %d" % btannounce_id |
95 except Exception as e: |
95 except Exception as e: |
96 pass |
96 pass |