summaryrefslogtreecommitdiff
path: root/gbp/git/repository.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-04-14 13:35:53 +0200
committerGuido Günther <agx@sigxcpu.org>2013-04-14 13:35:53 +0200
commitfd58ed5636bc2781c6cc1788d390e38dd535a871 (patch)
tree0cc4408979056e8a75ed846fac7821b9a6430ce5 /gbp/git/repository.py
parentd0434af9e84142567050417a3a3736002bfb80c3 (diff)
GitRepository: make __build_env a static method
since cls is unused and it silences pychecker
Diffstat (limited to 'gbp/git/repository.py')
-rw-r--r--gbp/git/repository.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py
index 76d2e3f..df393aa 100644
--- a/gbp/git/repository.py
+++ b/gbp/git/repository.py
@@ -72,8 +72,8 @@ class GitRepository(object):
raise GitRepositoryError("No Git repository at '%s'" % self.path)
self._check_bare()
- @classmethod
- def __build_env(cls, extra_env):
+ @staticmethod
+ def __build_env(extra_env):
"""Prepare environment for subprocess calls"""
env = None
if extra_env is not None: