Skip to content

Commit

Permalink
cleanup: purge dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
ccwienk committed Dec 6, 2024
1 parent 8fd5dfb commit 177f600
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions github/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import collections
import datetime
import deprecated
import enum
import io
import re
Expand Down Expand Up @@ -798,20 +797,6 @@ def delete_outdated_draft_releases(self) -> Iterable[Tuple[github3.repos.release
yield release, release.delete()


@deprecated.deprecated
def github_cfg_for_hostname(cfg_factory, host_name, require_labels=('ci',)): # XXX unhardcode label
return ccc.github.github_cfg_for_hostname(
host_name=host_name,
cfg_factory=cfg_factory,
require_labels=require_labels,
)


@deprecated.deprecated
def _create_github_api_object(github_cfg):
return ccc.github.github_api(github_cfg=github_cfg)


def branches(
github_cfg,
repo_owner: str,
Expand Down

0 comments on commit 177f600

Please sign in to comment.