def GetIssue(self):
    'Returns the issue number as a int or None if not set.'
    if ((self.issue is None) and (not self.lookedup_issue)):
        issue = RunGit(['config', self._codereview_impl.IssueSetting(self.GetBranch())], error_ok=True).strip()
        self.issue = ((int(issue) or None) if issue else None)
        self.lookedup_issue = True
    return self.issue
Returns the issue number as a int or None if not set.
def GetIssue(self):
    
    if ((self.issue is None) and (not self.lookedup_issue)):
        issue = RunGit(['config', self._codereview_impl.IssueSetting(self.GetBranch())], error_ok=True).strip()
        self.issue = ((int(issue) or None) if issue else None)
        self.lookedup_issue = True
    return self.issue