code: def iter_user_repos(login, type=None, sort=None, direction=None, number=-1,
                      etag=None):
      if login:
          return gh.iter_user_repos(login, type, sort, direction, number, etag)
      return iter([])