def get(self, gist_id, file=''):
    new_url = ('%s/gist/%s' % (self.format_prefix, gist_id))
    if file:
        new_url = ('%s/%s' % (new_url, file))
    self.log.info('Redirecting %s to %s', self.request.uri, new_url)
    self.redirect(self.from_base(new_url))
def get(self, gist_id, file=):
    new_url = ('%s/gist/%s' % (self.format_prefix, gist_id))
    if file:
        new_url = ('%s/%s' % (new_url, file))
    self.log.info('Redirecting %s to %s', self.request.uri, new_url)
    self.redirect(self.from_base(new_url))