Skip to content

Commit

Permalink
Fool pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
msimacek committed Apr 20, 2016
1 parent 2e9ec58 commit 7d7f91e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion koschei/backend/repo_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def __lt__(self, other):
return self.repo_id < other.repo_id

def make_url(self, arch):
# pylint: disable=no-member
return self.remote_url.format(build_tag=self.build_tag,
repo_id=self.repo_id, arch=arch)

Expand Down
2 changes: 2 additions & 0 deletions koschei/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def get_config(key, default=NO_DEFAULT):
else:
raise KeyError("Configuration value not found: {}".format(key))
return ret
# pylint: disable=unreachable
return key # makes pylint stop thinking the return type must be a dict


def get_koji_config(koji_id, key):
Expand Down

0 comments on commit 7d7f91e

Please sign in to comment.