diff options
author | 2021-03-24 23:02:53 -0400 | |
---|---|---|
committer | 2021-03-24 23:02:53 -0400 | |
commit | 7c4d1c5f3aab4a32795797332f33d5a759f72a9d (patch) | |
tree | 1cc16273cc5d1dc898fbb07df4431956cc17a44e /catalyst | |
parent | catalyst: Fix indentation (diff) | |
download | catalyst-7c4d1c5f3aab4a32795797332f33d5a759f72a9d.tar.gz catalyst-7c4d1c5f3aab4a32795797332f33d5a759f72a9d.tar.bz2 catalyst-7c4d1c5f3aab4a32795797332f33d5a759f72a9d.zip |
catalyst: Remove @staticmethod from generate_hash()
Fixes: 48338534 ("Add option to generate BSD-style tagged hashes ...")
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'catalyst')
-rw-r--r-- | catalyst/base/genbase.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/catalyst/base/genbase.py b/catalyst/base/genbase.py index b89e7c93..6d039a8f 100644 --- a/catalyst/base/genbase.py +++ b/catalyst/base/genbase.py @@ -12,8 +12,7 @@ class GenBase(): def __init__(self, myspec): self.settings = myspec - @staticmethod - def generate_hash(filepath, name): + def generate_hash(self, filepath, name): h = hashlib.new(name) with open(filepath, 'rb') as f: |