def getGlobalTimeTrackingSettings(self): try: cont = self._get('/admin/timetracking') return youtrack.GlobalTimeTrackingSettings(cont, xml) except youtrack.YouTrackException, e: if e.response.status != 404: raise e
def getGlobalTimeTrackingSettings(self): return youtrack.GlobalTimeTrackingSettings( self._get('/admin/timetracking'), self)